#Opcje glowne random teleport options: xMin: -4000 xMax: 4000 zMin: -4000 zMax: 4000 yMin: 70 yMax: 255 world: world #/\Nazwa swiatu/\# #Bloki teleportacji blok1: sponge #Wiadomosc ostrzegajaca danmsg: &eTeleportacja nastapi za chwile! &cUwazaj, mozesz zginac! infmsg: &eZostales przeteleprtoway na %{_targetx}%, %{_targetz}% #Tag skryptu tag: &7[&cStworekTV&7] #Efekty po tp #Szybkosc efekt1: speed sila1: 3 czas1: 30 #Mdlosci efekt2: nausea sila2: 7 czas2: 10 #Ciemnosc efekt3: blindness sila3: 6 czas3: 10 on rightclick on stone button: block behind target block is {@blok1}: set {_targetx} to a random integer between {@xMin} and {@xMax} set {_targetz} to a random integer between {@zMin} and {@zMax} send "{@tag} {@danmsg}" to player wait 2 seconds apply {@efekt1} {@sila1} to the player for {@czas1} seconds apply {@efekt2} {@sila2} to the player for {@czas2} seconds apply {@efekt3} {@sila3} to the player for {@czas3} seconds send "{@tag} {@infmsg}" to player execute console command "/tppos %player% %{_targetx}% {@yMin} %{_targetz}%" stop