Guest User

Untitled

a guest
Aug 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. function rcon(e)
  2. if string.sub(e.Message.Text, 0, 5) == "!rcon" then
  3. if string.sub(e.Message.Text, 7, 9) == "say" then
  4. Irc_chat( string.sub(e.Message.text, 11), "#Gelbooru")
  5. end
  6. elseif string.sub(e.Message.Text, 7, 10) == "kick" then
  7. Irc_chat( "I can't kick anyone!", "#gelbooru")
  8. end
  9.  
  10. end
  11. end
  12.  
  13. function rcon_sethandler(e)
  14. root.chat:Add(rcon)
  15. end
  16.  
  17. rcon_mode = "handler"
Add Comment
Please, Sign In to add comment