Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /tpa [<player>]:
- trigger:
- if arg 1 is set:
- set {Tpa.%player%::%arg 1%} to true
- send "&c&lI&f&lr &c&l> &fPedido de Ir enviado para %arg 1%" to player
- send "&c&lI&f&lr &c&l> &fO Jogador &c%arg 1% &fdeseja ir até você"
- send json of "&c&TP&f&lA &c&l> &f&lClique aqui para Aceitar!" run "/tpaccept %player%"
- send json of "&c&TP&f&lA &c&l> &f&lClique aqui para Negar!" run "/tpdeny %player%"
- wait 1 minutes
- set {Tpa.%player%::%arg 1%} to false
- send "&c&TP&f&lA &c&l> &fSeu pedido de TPA expirou !"
- stop
- else:
- send "&c&TP&f&lr &c&l> &fUse /tpa NICK"
- stop
- command /tpaccept [<player>]:
- trigger:
- if arg 1 is set:
- if {Tpa.%arg 1%::%player%} is true:
- set {Tpa.%arg 1%::%player%} to false
- teleport %arg 1% to player
- send "&c&TP&f&lA &c&l> &fSeu pedido de TPA foi aceito !" to arg 1
- send "&c&TP&f&lA &c&l> &fPedido de TPA aceito !" to player
- stop
- else:
- send "&c&TP&f&lA &c&l> &fEsse pedido de TPA já expirou !"
- stop
- else:
- send "&&c&TP&f&lA &c&l> &fUse /tpaccept NICK"
- stop
- command /tpdeny [<player>]:
- trigger:
- if arg 1 is set:
- if {Ir.%arg 1%::%player%} is true:
- set {Tpa.%arg 1%::%player%} to false
- send "&c&TP&f&lA &c&l> &fSeu pedido de TPA foi negado !" to arg 1
- send "&c&TP&f&lA &c&l> &fPedido de TPA negado !" to player
- stop
- else:
- send "&c&TP&f&lr &c&l> &fEsse pedido de TPA já expirou !"
- stop
- else:
- send "&c&TP&f&lA &c&l> &fUse /tpdeny NICK"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement