This script is made to come in handy with the usage of /kickall
It check if a user is on one of your channels. And displayes it, it also adds the Op (@) symbol to th nick if opped, and the Voice (+) symbol if voiced.
Usage:
/sayall nickname
Or to say your channels:
/sayall
~It echo's so it doesnt display any thing to a channel, unless you changed it.~
alias sayall {
var %n = 1, %b = $comchan($iif($1,$1,$me),0)
while (%n <= %b) {
set %nb %nb $iif($iif($1,$1,$me) isop $comchan($iif($1,$1,$me),%n),@ $+ $comchan($iif($1,$1,$me),%n),$iif($iif($1,$1,$me) isvoice $comchan($iif($1,$1,$me),%n),+ $+ $comchan($iif($1,$1,$me),%n),$comchan($iif($1,$1,$me),%n)))
inc %n
{
if (%n == %b) { /echo -ag $iif($1,$1,$me) is on: %nb ( $+ $comchan($iif($1,$1,$me),0) channels) | unset %nb }
}
}
}