Is there a way to teleport the player which executed the command to 257 90 -58, then after 10 seconds, teleport them back?
-----------------------------
I'm trying to make an admin room, I have this as the base:
command /admin:
permission: settingstp.admin
permission message: You cannot do that!
trigger:
I've already tried this:
command /admin:
permission: settingstp.admin
permission message: You cannot do that!
trigger:
set {currentpos2} to player's location
loop 2 times:
if player's location is not {currentpos2}:
wait 10 seconds
teleport player to {currentpos2}
wait 1 second
if player's location is not {currentpos2}:
cancel event
send "E"
teleport player to location at 257, 90, -58 in world "world"
Is there a way you can do that for me or fix my code so it does what I asked? Thanks!
-----------------------------
I'm trying to make an admin room, I have this as the base:
command /admin:
permission: settingstp.admin
permission message: You cannot do that!
trigger:
I've already tried this:
command /admin:
permission: settingstp.admin
permission message: You cannot do that!
trigger:
set {currentpos2} to player's location
loop 2 times:
if player's location is not {currentpos2}:
wait 10 seconds
teleport player to {currentpos2}
wait 1 second
if player's location is not {currentpos2}:
cancel event
send "E"
teleport player to location at 257, 90, -58 in world "world"
Is there a way you can do that for me or fix my code so it does what I asked? Thanks!