Advertisement
RichJMoney

ban

Dec 10th, 2014
1,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local cmd = function(msg,usr,chan)
  2.  
  3. local list = GetUsers();
  4. local victim = msg;
  5.  
  6. --not operator is not != in lua
  7. if UserStatus(usr) ~= 2 then
  8. victim = usr;
  9. end
  10.  
  11.  
  12. MOD.Timeout(victim,10);
  13. print("And " .. victim .. " is BANNED!");
  14. end
  15.  
  16. return cmd;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement