zGhol

Untitled

Jan 31st, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. command /ir [<player>]:
  2. aliases: tpa
  3. trigger:
  4. if arg 1 is set:
  5. set {Ir.%player%::%arg 1%} to true
  6. send "&c&lI&f&lr &c&l> &fPedido de Ir enviado para %arg 1%" to player
  7. send "&c&lI&f&lr &c&l> &fO Jogador &c%arg 1% &fdeseja ir até você"
  8. send json of "&c&lI&f&lr &c&l> &f&lClique aqui para Aceitar!" run "/iracc %player%"
  9. send json of "&c&lI&f&lr &c&l> &f&lClique aqui para Negar!" run "/irdny %player%"
  10. wait 1 minutes
  11. set {Ir.%player%::%arg 1%} to false
  12. send "&c&lI&f&lr &c&l> &fSeu pedido de Ir expirou !"
  13. stop
  14. else:
  15. send "&c&lI&f&lr &c&l> &fUse /ir NICK"
  16. stop
  17.  
  18. command /iracc [<player>]:
  19. aliases: tpaccept
  20. trigger:
  21. if arg 1 is set:
  22. if {Ir.%arg 1%::%player%} is true:
  23. set {Ir.%arg 1%::%player%} to false
  24. teleport %arg 1% to player
  25. send "&c&lI&f&lr &c&l> &fSeu pedido de Ir foi aceito !" to arg 1
  26. send "&c&lI&f&lr &c&l> &fPedido de Ir aceito !" to player
  27. stop
  28. else:
  29. send "&c&lI&f&lr &c&l> &fEsse pedido de Ir já expirou !"
  30. stop
  31. else:
  32. send "&c&lI&f&lr &c&l> &fUse /iracc NICK"
  33. stop
  34.  
  35. command /irdny [<player>]:
  36. aliases: tpdeny
  37. trigger:
  38. if arg 1 is set:
  39. if {Ir.%arg 1%::%player%} is true:
  40. set {Ir.%arg 1%::%player%} to false
  41. send "&c&lI&f&lr &c&l> &fSeu pedido de Ir foi negado !" to arg 1
  42. send "&c&lI&f&lr &c&l> &fPedido de Ir negado !" to player
  43. stop
  44. else:
  45. send "&c&lI&f&lr &c&l> &fEsse pedido de Ir já expirou !"
  46. stop
  47. else:
  48. send "&c&lI&f&lr &c&l> &fUse /irdny NICK"
  49. stop
Add Comment
Please, Sign In to add comment