Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.03 KB | None | 0 0
  1. alias ShowLevel {
  2.   var %x 1, %temp, %y 1, %us $users($1)
  3.   while ($ini(Access.ini,Access,%x)) {
  4.     var %u = $v1
  5.     if ($ACC(%u).lvl == $1) {
  6.       if ($ACC(%u).status == ON) { var %temp = %temp 3 $+ %u $+ %Gather.Color1 $+ ( $+ $acc(%u).gathers $+ ) $+ $chr(44) }
  7.       else var %temp = %temp 15 $+ %u $+ %Gather.Color1 $+ ( $+ $acc(%u).gathers $+ ) $+ $chr(44)
  8.     }
  9.     if ($numtok(%temp,32) == 20) {
  10.       if (%y == 1) { msg %Gather.Channel $stlmain(%Gather.Color2 $+ $1 $+ s are ( $+ %Gather.Color1 $+  $+ $gettok(%us,2,32) $+ / $+ $gettok(%us,1,32) $+ %Gather.Color2 $+ ): %temp) | var %temp | inc %y }
  11.       else { msg %Gather.Channel $stlmain(%temp) | var %temp }
  12.     }
  13.     inc %x
  14.   }
  15.   if (%temp) {
  16.     if (%y == 1) { msg %Gather.Channel $stlmain(%Gather.Color2 $+ $1 $+ s are ( $+ %Gather.Color1 $+  $+ $gettok(%us,2,32) $+ / $+ $gettok(%us,1,32) $+ %Gather.Color2 $+ ): %temp) }
  17.     else { msg %Gather.Channel $stlmain(%temp) }
  18.   }
  19.   if (!%us) { msg %Gather.Channel $stlmain(Gatherbot is empty of $+ %Gather.Color2 $1 $+ s) }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement