Advertisement
Terrah

ban

Oct 16th, 2014
1,694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. local banlongtime = function(msg, usr, chan)
  2.  
  3.     if not msg or msg == "" then
  4.         print("Who we be banning? 4Head");
  5.         return;
  6.     elseif msg:lower() == "terrahkitsune" then
  7.         msg = usr;
  8.     elseif msg:lower() == "me" then
  9.         msg = usr;
  10.     elseif msg:lower() == "you" then
  11.         msg = usr;
  12.     elseif msg:lower() == "kitsunebot" then
  13.         msg = usr;
  14.     end
  15.    
  16.     local longtime = tostring(math.random(1000)) .. " years ";
  17.  
  18.     longtime = longtime .. tostring(math.random(11)) .. " months ";
  19.     longtime = longtime .. tostring(math.random(30)) .. " days ";
  20.     longtime = longtime .. tostring(math.random(23)) .. " hours ";
  21.     longtime = longtime .. tostring(math.random(59)) .. " mins ";
  22.     longtime = longtime .. tostring(math.random(59)) .. " seconds";
  23.    
  24.     print("@"..usr.." has banned " .. msg .. " from " .. chan .. " for " .. longtime .. " raizKappa");
  25.    
  26. end
  27.  
  28.  
  29. return banlongtime;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement