Sayall

By ReQueST on Jun 17, 2004

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 }
    }
  }
}

Comments

Sign in to comment.
ReQueST   -  Jul 01, 2004

Thnx

 Respond  
drmrx   -  Jun 17, 2004

at last, a good snippet, works fine. good work nice idea

 Respond  
ReQueST   -  Jun 17, 2004

Any commands, suggestions please tell me.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.