Advertisement
Guest User

Untitled

a guest
Oct 13th, 2015
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.16 KB | None | 0 0
  1.  
  2. do
  3. local function run(msg, matches)
  4.   local ID = {'121315157','113340735','118118155','96217975','99044899','134015846','117142834','39811313','117936812','108651160','95306366','107550100','122097334','88211813','121766450','116695620','58737283','107493630','70843187','118876625','121061179','119878961','119260949','119074401','118580891','121281671','118103071','101472828','121913006','123238669','123539372','89921303','122242792','88529483','122099338','122037335','95154546','117345627','117232081','111064688','111992047','81990893','82570936','98617228','107597178','106864993','82230178','113442047','123800947','85845500','116772292','71603525','114072552','115788621','115155898','114608182','114540994','109182214'}
  5.  
  6.   if matches[1] == "&" then
  7.     MATH = ID[math.random(#ID)]
  8.     user = 'user#id'..MATH
  9. end
  10.  
  11.  
  12.   if msg.to.type == 'chat' then
  13.     local chat = 'chat#id'..msg.to.id
  14.     chat_add_user(chat, user, callback, false)
  15.     return "Add: "..user.." to "..chat
  16.   else
  17.     return 'Non è un chat di gruppo!'
  18.   end
  19.  
  20. end
  21.  
  22. return {
  23.   description = "Add Bot",
  24.   usage = {
  25.     "!&" },
  26.   patterns = {
  27.     "!(&)"
  28.   },
  29.   run = run
  30. }
  31.  
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement