no edit summary
(upgraded deprecated template) |
No edit summary |
||
| Line 22: | Line 22: | ||
If the channel argument is the channel number (ie 6 or "6"), then the returned channel name is correct. | If the channel argument is the channel number (ie 6 or "6"), then the returned channel name is correct. | ||
The channel id returns correctly in both cases. | The channel id returns correctly in both cases. | ||
It's also worthy to note the strange behaviour of (at least) Trade channels. Login to a city, GetChannelName("Trade - City") will return the channel number it's on. Step outside the city, you'll leave the channel yet making that call again will return the channel number you *were* on. As such, it's not entirely reliable for detecting if you're in a trade enabled zone. | |||
---- | ---- | ||