Guest User

Ir - zGhow

a guest
Oct 30th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. command /ir [<player>]:
  2. trigger:
  3. if arg 1 is set:
  4. if {zGhowIr.Player::%player%} is set:
  5. set {zGhowIr.Player::%player%} to arg 1
  6. set {zGhowIr.Player::%arg 1%} to player
  7. send "&a&lIR > &aEnviado"
  8. send " &a&lIR " to arg 1
  9. send "&eO Jogador %player% Deja Ir Ate Você, 20 Segundos Para Remover!" to arg 1
  10. send json of "&aClick Aqui Para &lACEITAR" tooltip "&a&lACEITAR IR" run "/iraceitar" to arg 1
  11. send json of "&cClick Aqui Para &lNEGAR" tooltip "&c&lNEGAR IR" run "/irnegar" to arg 1
  12. wait 20 seconds
  13. clear {zGhowIr.Player::%player%}
  14. clear {zGhowIr.Player::%arg 1%}
  15. send "&a&lIR > &aPedido Expirado!" to arg 1
  16. send "&a&lIR > &aPedido Expirado!" to player
  17. else:
  18. send "&cVocê Já Enviu Um TPA Para Ele Espere!"
  19. else:
  20. send "&c/ir <jogador>"
  21.  
  22. command /iraceitar:
  23. trigger:
  24. if {zGhowIr.Player::%player%} is set:
  25. teleport player to {zGhowIr.Player::%player%}
  26. send "&a&lIR > &aVocê Aceito O Pedido De Ir"
  27. send "&a&lIR > &aO Jogador %player% Aceito Seu TPA" to {zGhowIr.Player::%player%}
  28. clear {zGhowIr.Player::%arg 1%}
  29. clear {zGhowIr.Player::%player%}
  30. else:
  31. send "&cNenhum Pedido De Ir Pendente!"
  32.  
  33. command /irnegar:
  34. trigger:
  35. if {zGhowIr.Player::%player%} is set:
  36. send "&a&lIR > &aO Jogador %player% Negou O Seu Pedido De IR!" to {zGhowIr.Player::%player%}
  37. send "&a&lIR > &aPedido De IR Negado!"
  38. clear {zGhowIr.Player::%arg 1%}
  39. clear {zGhowIr.Player::%player%}
  40. else:
  41. send "&cNenhum Pedido De Ir Pendente!"
Add Comment
Please, Sign In to add comment