- alias stat {
- var %op,%power,%voice,%total, %i = $chan(0) , %chans = %i
- while (%i) {
- inc %total $nick($chan(%i),0)
- if ($me isop $chan(%i)) { inc %op | inc %power $nick($chan(%i),0) }
- if ($me !isop $chan(%i) && $me isvoice $chan(%i)) { inc %voice | inc %power $nick($chan(%i),0,r,ov) }
- dec %i
- }
- { msg $chan I am currently in %chans channels. I have op in $calc(%op) and voice in $calc(%voice) channels. I currently have power over $calc(%power) of the $calc(%total) users. }
- }
Undefined
By: lol | Date: Dec 10 2006 18:03 | Format: None | Expires: never | Size: 507 B | Hits: 1388
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago