Advertisement
70sOn7

Sudo v2

Nov 18th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. command /sudo <player> <text> [<text>]:
  2. permission: server.sudo
  3. permission message: &cYou don't have access to this command!
  4. trigger:
  5. if arg-1 is not set:
  6. send "&c/sudo (Player) (Command/Chat) (Text)"
  7. stop
  8. if arg-2 is not set:
  9. send "&c/sudo (Player) (Command/Chat) (Text)"
  10. stop
  11. if arg-2 is "chat":
  12. if arg-3 is not set:
  13. send "&c/sudo (Player) Chat (Text)"
  14. stop
  15. if arg-2 is "chat":
  16. if arg-3 is set:
  17. make arg-1 say "%arg-3%"
  18. stop
  19. if arg-2 is not "chat":
  20. make arg-1 execute "/%arg-2% %arg-3%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement