Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sudo <player> [<text>]:
- permission: server.sudo
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- make arg-1 execute "/%arg-2%"
- message "&8» &7You made &c%arg-1% &7run &c%arg-2%"
- stop
- if arg-1 is "%{staffl::*}%":
- message "&8» &7You cannot sudo that player!"
- stop
- if arg-1 is not set:
- message "&9Usage &8» &c/sudo (Player) (Command)"
- stop
- if arg-2 is not set:
- message "&9Usage &8» &c/sudo (Player) (Command)"
- stop
- if arg-1 is player:
- message "&9Usage &8» &cYou cannot sudo yourself"
- stop
- command /staffadd [<offlineplayer>]:
- permission: server.staffadd
- trigger:
- if arg-1 is not set:
- send "9Staff Add &8» &c/staffadd (Player)"
- if arg-1 is set:
- send "&8» &7You added &c%arg-1% &7to the &cStaff List&7!"
- add arg-1 to {staff::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement