Advertisement
cnl_cnl_cnl

Untitled

Aug 10th, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. regex trigger
  2. ^(\w+) tells you 'gset( transfer)? me'
  3.  
  4. script
  5. local trusted = {
  6. "Ezekiel",
  7. "Stinker",
  8. "Riq",
  9.  
  10. }
  11.  
  12. if (not m.am_leader) then
  13. send("emo shifts uncomfortably.")
  14. else
  15. send("emo pulls out a crumpled piece of paper from his pocket and frowns while running his finger down a list of names.")
  16.  
  17. if table.contains(trusted,matches[2]) then
  18. send("salute "..matches[2]..";gset transfer "..matches[2])
  19. else
  20. send("emo shakes his head at "..matches[2]..".")
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement