tsutitire2

Untitled

May 28th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. Variables:
  2. {cucmds::*} = "/lc log"
  3. On command:
  4. set {_i} to 0
  5. loop size of {cucmds::*} times:
  6. set {_i} to {_i} + 1
  7. if {cucmds::%{_i}%} = full command:
  8. if player doesn't have the permission "skript.admin":
  9. cancel event
  10. command /cantcmd <text> [<int>][<text>]:
  11. trigger:
  12. if arg 1 is "add":
  13. set {_addpl} to size of {cucmds::*} + 1
  14. if arg 3 is not "/realm":
  15. set {cucmds::%{_addpl}%} to arg 3
  16. if arg 1 is "list":
  17. message "%{cucmds::*}%"
  18. if arg 1 is "rem":
  19. delete {cucmds::*}
  20. permission: skript.admin
  21. permission message: "おめぇの権限、ねぇから!"
Add Comment
Please, Sign In to add comment