Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. command /grade [<text>] [<text>] [<text>]:
  2. permission: *
  3. permission message: &cVous n'avez pas accès à cette commande !
  4. trigger:
  5.  
  6. if arg 1 is "prefix":
  7. if arg 2 is set:
  8. if arg 3 is set:
  9. make console execute command "pex group %arg 2% prefix ""%arg 3% "" "
  10.  
  11. if arg 1 is "create":
  12. if arg 2 is set:
  13. if arg 3 is not set:
  14. make console execute command "pex group %arg 2% create"
  15. wait 3 ticks
  16. make console execute command "pex group %arg 2% add %arg 2%"
  17.  
  18. if arg 1 is "permission":
  19. if arg 2 is set:
  20. if arg 3 is set:
  21. make console execute command "pex group %arg 2% add %arg 3%"
  22.  
  23. if arg 1 is set:
  24. if arg 2 is set:
  25. if arg 3 is not set:
  26. make console execute command "pex user %arg 1% group set %arg 2%"
  27.  
  28. if arg 1 is not set:
  29. if arg 2 is not set:
  30. if arg 3 is not set:
  31. send ""
  32. send "&8 /grade <prefix/create/Joueur/permission> <Grade> [<Prefix |ou| Permission>]"
  33. send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement