# ProXEQ__ options: tag: &cTPA &8: tagTitle: &f• &cTPA &f• command /tpa []: aliases: teleport trigger: if arg 1 is not set: send "{@tag} &7Poprawne uzycie: &c/tpa " stop if arg 1 is set: set {_p} to arg 1 parsed as offlineplayer if {_p} is online: send "{@tag} &7Wyslales prosbe teleportacji do %{_p}%" #Usuń te hasztagi przed "send" jeśli mają wyświetlać się wiadomości title (Dodalem bo to ostatnio polularne) #Potrzebujesz pluginu skRayFall by to działało :P () # send player title "{@tagTitle}" with subtitle "&7Prosba o teleportacje zostala wyslana!" for 3 seconds send "{@tag} &7Gracz &c%player% &7chce sie do ciebie teleportowac." to {_p} send "&8• &7Wpisz &a/tpaccept &7aby zaakceptowac teleportacje." to {_p} send "&8• &7Lub &c/tpdeny &7aby ja odrzucic." to {_p} # send {_p} title "{@tagTitle}" with subtitle "&7Gracz &e%player% &7chce sie do ciebie teleportowac!" for 3 seconds set {Tpa::%{_p}%} to "%player%" stop command /tpaccept: aliases: tpakceptuj trigger: if {Tpa::%{_p}%} is set: set {_p} to {Tpa::%{_p}%} parsed as offlineplayer if {_p} is online: send "{@tag} &c%player% &7zaakceptowal twoja prosbe o teleportacje." to {_p} # send {_p} title "{@tagTitle}" with subtitle "&7Gracz &e%player% &7zaakceptowal twoja prosbe o teleportacje!" for 2 seconds send "{@tag} &7Nie ruszaj sie przez &c5 sekund" set {Tpa::%{_p}%::Loc} to location of player wait 1 second if {Tpa::%{_p}%::Loc} is location of {_p}: # send {_p} title "{@tagTitle}" with subtitle "&7Nie ruszaj sie jeszcze przez: &c4 sekundy" for 2 seconds else: send "{@tag} &cRuszyles sie teleportacja anulowana." to {_p} stop wait 1 second if {Tpa::%{_p}%::Loc} is location of {_p}: # send {_p} title "{@tagTitle}" with subtitle "&7Nie ruszaj sie jeszcze przez: &c3 sekundy" for 2 seconds else: send "{@tag} &cRuszyles sie teleportacja anulowana." to {_p} stop wait 1 second if {Tpa::%{_p}%::Loc} is location of {_p}: # send {_p} title "{@tagTitle}" with subtitle "&7Nie ruszaj sie jeszcze przez: &c2 sekundy" for 2 seconds else: send "{@tag} &cRuszyles sie teleportacja anulowana." to {_p} stop wait 1 second if {Tpa::%{_p}%::Loc} is location of {_p}: # send {_p} title "{@tagTitle}" with subtitle "&7Nie ruszaj sie jeszcze przez: &c1 sekunde" for 2 seconds else: send "{@tag} &cRuszyles sie teleportacja anulowana." to {_p} stop wait 1 second # send {_p} title "{@tagTitle}" with subtitle "&7Przeteleportowano do %player%" for 3 seconds send "{@tag} &7Przeteleportowano do %player%" to {_p} stop else: send "{@tag} &cGracz prawdopodobnie sie wylogowal." stop else: send "{@tag} &cNie masz oczekujacej prosby!" stop