Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sudo [<player>] [<text>]:
- permission: *
- trigger:
- if arg-1 is set:
- if arg-player is not set:
- message "&cInvalid Player"
- if arg-player is set:
- if arg-2 contains "c:":
- send "" to console
- else:
- make player execute "%arg-2%"
- if arg-player is set:
- if arg-2 contains "c:":
- broadcast "%arg-player's display name%&8 »&r %arg-2%"
- if arg-1 is not set:
- message "&7/sudo <player> <chat/command>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement