This script is easy to use and there's tons of these on hawkee, but i still decided to put it here. :-)
Usage: /power
Will tell active channel your opped channels and how many users do you have under your control. ;)
alias power {
var %i = $chan(0)
while (%i) {
%users = $calc(%users + $nick($chan(%i),0))
if ($me isop $chan(%i)) { inc %oped | %own = $calc(%own + $nick($chan(%i),0)) }
dec %i
}
if (c isincs $gettok($chan($active).mode,1,32)) { echo -a Can not use the script on $active $+ : The channel mode c present (No colours). }
if (c !isincs $gettok($chan($active).mode,1,32)) {
msg $active 7Power: I'm opped on ( $+ $+($iif(%oped,%oped,0),/,$chan(0)) $+ ) channels on 7 $+ $left($network,1) $+ $+ $right($network,-1) $+ in control of ( $+ $+($iif(%own,%own,0),/,%users) $+ ) users. }
unset %own %oped %users
}
on *:load:{ echo -a Power script loaded. Usage: /power - Perfect script for ophunters and lamers. :) }