Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables:
- {cucmds::*} = "/lc log"
- On command:
- set {_i} to 0
- loop size of {cucmds::*} times:
- set {_i} to {_i} + 1
- if {cucmds::%{_i}%} = "%full command%":
- if player has not the permission "skript.admin":
- cancel event
- command /cantcmd <text> [<int>][<text>]:
- trigger:
- if arg 1 is "add":
- set {_addpl} to size of {cucmds::*} + 1
- if arg 3 is not "/realm":
- set {cucmds::%{_addpl}%} to arg 3
- if arg 1 is "list":
- message "%{cucmds::*}%"
- if arg 1 is "rem":
- set {cucmds::%arg 2%} to "deleted"
- permission: skript.admin
- permission message: "おめぇの権限、ねぇから!"
Add Comment
Please, Sign In to add comment