Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias ShowLevel {
- var %x 1, %temp, %y 1, %us $users($1)
- while ($ini(Access.ini,Access,%x)) {
- var %u = $v1
- if ($ACC(%u).lvl == $1) {
- if ($ACC(%u).status == ON) { var %temp = %temp 3 $+ %u $+ %Gather.Color1 $+ ( $+ $acc(%u).gathers $+ ) $+ $chr(44) }
- else var %temp = %temp 15 $+ %u $+ %Gather.Color1 $+ ( $+ $acc(%u).gathers $+ ) $+ $chr(44)
- }
- if ($numtok(%temp,32) == 20) {
- 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 }
- else { msg %Gather.Channel $stlmain(%temp) | var %temp }
- }
- inc %x
- }
- if (%temp) {
- 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) }
- else { msg %Gather.Channel $stlmain(%temp) }
- }
- if (!%us) { msg %Gather.Channel $stlmain(Gatherbot is empty of $+ %Gather.Color2 $1 $+ s) }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement