Power snippet

By naruto on Aug 26, 2005

just use /pow

alias pow { 
  %x = 1
  while (%x <= $chan(0)) {
    if ($me isop $chan(%x)) { var %opc $addtok(%opc,$chan(%x),32) | var %cpl $calc(%cpl + $nick($chan(%x),0)) }
    if ($me isvoice $chan(%x)) { var %vc $addtok(%vc,$chan(%x),32) }
    if ($me isreg $chan(%x)) { var %rc $addtok(%rc,$chan(%x),32) }
    inc %x 
  }
  echo -a [Power]: You're control %cpl users on $network $+ .
  echo -a [Opped]: %opc chans. :|: [Voiced]: %vc chans. :|: [Reg]: %rc chans.
  echo -a [Totaly]: You're on $chan(0) channels, make sure you got enough respect. (+/@)
}

Comments

Sign in to comment.
KuTsuM   -  Aug 29, 2005

Don\'t really see the use, but I suppose it\'s informative. Nice job ;)

 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.