Advertisement
Terrah

Untitled

Nov 3rd, 2014
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. return function(msg, usr, cha)
  2.  
  3. local l = GetUsers();
  4.  
  5. if not l or #l <= 0 then
  6. print("0% mods here");
  7. return;
  8. end
  9.  
  10. local mods = 0;
  11. for n=1,#l do
  12. if UserStatus(l[n]) == 2 then
  13. mods = mods + 1;
  14. end
  15. end
  16.  
  17. local modpercent = mods / #l;
  18.  
  19. print(tostring(modpercent*100).."% mods here");
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement