Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gerarkey [<text>]:
- trigger:
- if player has permission "admin.usar":
- if arg 1 is not set:
- set {_Key} to a random integer between 1 and 999999
- add {_Key} to {Keys::*}
- send "&a&lKEY: &aNova key gerada! (%{_Key}%)"
- command /apagarkeys [<text>]:
- aliases: /apagarkey, /delkey
- trigger:
- if player has permission "admin.usar":
- if arg 1 is not set:
- clear {Keys::*}
- send "&c&lKEY: &cTodas keys foram apagas."
- command /keys [<text>]:
- aliases: /chaves, /chave, /key
- trigger:
- if player has permission "admin.usar":
- if arg 1 is not set:
- set {_msg} to "&a&lKEY: xx%{Keys::*}%"
- replace all "<none>" with "&fNenhuma key gerada!" in {_msg}
- replace all "xx" with "&7" in {_msg}
- replace all "and" with "&fe&7" in {_msg}
- replace all "," with "&f,&7" in {_msg}
- send "%{_msg}%"
- command /usarkey [<integer>]:
- trigger:
- if arg 1 is set:
- if {Keys::*} contains arg 1:
- remove arg 1 from {Keys::*}
- send "&a&lKEY: &aVocê usou a key: %arg 1%"
- else:
- send "&c&lKEY: &cKey Incorreta ou Não Existe!"
Advertisement
Add Comment
Please, Sign In to add comment