command /tpa []: trigger: if arg 1 is not set: send "&cPodaj nick gracza!" if arg 1 is "%arg 1%": set {teleport.%player%} to true set {teleport.%arg 1%} to true send "&c%player%, Prosi o teleportacje do Ciebie wpisz &6/tpaccept &caby akceptowac lub &6/tpdeny &caby odmowic masz na to 120 sekund" if {akceptacja.%player%} is true: send "&c&lTeleportacja nastapi za 5 sekund!" wait 5 second teleport %player% %arg 1% else: send "&c&lGracz nie potwierdzil albo odmówił na twoją prośbe!" stop else: Masz już aktywną prośbę o teleportację do tego gracza! stop command /tpaccept: trigger: if {teleport.%arg 1%} is true: send "Zaakceptowano prośbę!" set {akceptacja.%player%} to true stop else: send "&c&lNie masz zadnej prosby o teleportacje!" stop command /tpdeny: trigger: if {teleport.%arg 1%} is true: send "&cOdrzucono prosbe o teleportacje!" to %arg 1% send "&cOdrzucono prosbe o teleportacje!" to player else: send "&c&lNie masz zadnej prosby o teleportacje!" stop