Introductions: Change out #YourChannel with Your main/bot channel.
Commands:
; !chans shows you all chans your bot is on and total how many.
on *:text:!chans:#YourChannel: {
if ($nick isop $chan) {
var %x = 1
set %y
while (%x <= $calc($chan(0) + 1)) {
if (%x == $calc($chan(0) + 1)) {
.notice $nick Channels: %y $chr(91) $+ Total: $chan(0) $+ $chr(93)
unset %y
break
}
else {
set %y $addtok(%y,$chan(%x),32)
inc %x
}
}
}
else {
.notice $nick ERROR! You are not authorized to use this command.
}
}