IF the bot is only on one network/connection, you can simply use $dde($ddename,channels)
- //echo -a $dde($ddename,channels)
Notes
- It'll work on more than one connection also, but the channel names are not seperated.
- Also could possibly exceed the line limit, thus fail. Although so would the loop method in that case.
- Of course it also depends on DDE being enabled.