command /tpa [<player>]:
trigger:
if argument is set:
send "Işınlanma istediği gönderildi." to player
send "%player% adlı oyuncu yanına ışınlanmak istiyor." to argument
set {teleport.%argument%} to player
send json of "&c&lKabul Et" run "/tpaccept" then "ya da" then "&a&lReddet" run "/tpadeny" to argument
wait 120 seconds
delete {teleport.%argument%}
if argument is not set:
send "Işınlanmak istediğiniz kişinin adını da belirtmeniz gerekiyor." to player
command /tpevet:
aliases: tpaccept
trigger:
if {teleport.%player%} is set:
teleport {teleport.%player%} to player
wait 10 ticks
delete {teleport.%player%}
if {teleport.%player%} is not set:
send "Işınlanma isteği yok." to player
command /tpahayir:
aliases: tpadeny
trigger:
if {teleport.%player%} is set:
send "Işınlanma isteğiniz reddedildi." to {teleport.%player%}
wait 10 ticks
delete {teleport.%player%}
if {teleport.%player%} is not set:
send "Işınlanma isteği yok." to player