Advertisement
LukaMC59

Untitled

Nov 10th, 2017
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. command /sudo [<player>] [<text>]:
  2. permission: *
  3. trigger:
  4. if arg-1 is set:
  5. if arg-player is not set:
  6. message "&cInvalid Player"
  7. if arg-player is set:
  8. if arg-2 contains "c:":
  9. send "" to console
  10. else:
  11. make player execute "%arg-2%"
  12. if arg-player is set:
  13. if arg-2 contains "c:":
  14. broadcast "%arg-player's display name%&8 »&r %arg-2%"
  15. if arg-1 is not set:
  16. message "&7/sudo <player> <chat/command>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement