Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. alias perc { return $round($calc($1 / $2 * 100),2) $+ % }
  2.  
  3. raw 366:*:{
  4. if ($me ison $2) {
  5. echo $2 [#] Channel users: (Total users: $+ $c(2) $nick($2,0,a) - Operators: $+ $c(2) $nick($2,0,o) $perc($nick($2,0,o),$nick($2,0))- Voices: $+ $c(2) $nick($2,0,v) $perc($nick($2,0,v),$nick($2,0)) - Regular: $calc($nick($2,0,r) - $perc($nick($2,0,r),$nick($2,0))
  6. }
  7. haltdef
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement