Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ir [<player>]:
- trigger:
- if arg 1 is set:
- if {zGhowIr.Player::%player%} is set:
- set {zGhowIr.Player::%player%} to arg 1
- set {zGhowIr.Player::%arg 1%} to player
- send "&a&lIR > &aEnviado"
- send " &a&lIR " to arg 1
- send "&eO Jogador %player% Deja Ir Ate Você, 20 Segundos Para Remover!" to arg 1
- send json of "&aClick Aqui Para &lACEITAR" tooltip "&a&lACEITAR IR" run "/iraceitar" to arg 1
- send json of "&cClick Aqui Para &lNEGAR" tooltip "&c&lNEGAR IR" run "/irnegar" to arg 1
- wait 20 seconds
- clear {zGhowIr.Player::%player%}
- clear {zGhowIr.Player::%arg 1%}
- send "&a&lIR > &aPedido Expirado!" to arg 1
- send "&a&lIR > &aPedido Expirado!" to player
- else:
- send "&cVocê Já Enviu Um TPA Para Ele Espere!"
- else:
- send "&c/ir <jogador>"
- command /iraceitar:
- trigger:
- if {zGhowIr.Player::%player%} is set:
- teleport player to {zGhowIr.Player::%player%}
- send "&a&lIR > &aVocê Aceito O Pedido De Ir"
- send "&a&lIR > &aO Jogador %player% Aceito Seu TPA" to {zGhowIr.Player::%player%}
- clear {zGhowIr.Player::%arg 1%}
- clear {zGhowIr.Player::%player%}
- else:
- send "&cNenhum Pedido De Ir Pendente!"
- command /irnegar:
- trigger:
- if {zGhowIr.Player::%player%} is set:
- send "&a&lIR > &aO Jogador %player% Negou O Seu Pedido De IR!" to {zGhowIr.Player::%player%}
- send "&a&lIR > &aPedido De IR Negado!"
- clear {zGhowIr.Player::%arg 1%}
- clear {zGhowIr.Player::%player%}
- else:
- send "&cNenhum Pedido De Ir Pendente!"
Add Comment
Please, Sign In to add comment