Advertisement
zGhol

Untitled

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