Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /grade [<text>] [<text>] [<text>]:
- permission: *
- permission message: &cVous n'avez pas accès à cette commande !
- trigger:
- if arg 1 is "prefix":
- if arg 2 is set:
- if arg 3 is set:
- make console execute command "pex group %arg 2% prefix ""%arg 3% "" "
- if arg 1 is "create":
- if arg 2 is set:
- if arg 3 is not set:
- make console execute command "pex group %arg 2% create"
- wait 3 ticks
- make console execute command "pex group %arg 2% add %arg 2%"
- if arg 1 is "permission":
- if arg 2 is set:
- if arg 3 is set:
- make console execute command "pex group %arg 2% add %arg 3%"
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is not set:
- make console execute command "pex user %arg 1% group set %arg 2%"
- if arg 1 is not set:
- if arg 2 is not set:
- if arg 3 is not set:
- send ""
- send "&8 /grade <prefix/create/Joueur/permission> <Grade> [<Prefix |ou| Permission>]"
- send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement