Hello, skript can't teleport me to world, here is my code:
Also maybe he doesn't teleport me becouse spawn of that world is in air.
[doublepost=1500333177,1500326842][/doublepost]BUMP
code_language.skript:
command /hostevent:
permission: cc.command.hostevent
permission message: &cInvalid permission, sorry.
trigger:
if {cc.event.%player%} is not set:
send "&0[&3&l%{ePrefix}%&0] &3%player%'s Event-1 successfully created. You will be sent to it shortly."
send "&0[&3&l%{ePrefix}%&0] &3If you haven't been send in 20 seconds, type /mv tp %player%'s Event-1"
copy dir "plugins/CamCraftCore/CCEvents/eventmap/map1" to "plugins/CamCraftCore/CCEvents/%player%'s Event-1/"
unload world "plugins/CamCraftCore/CCEvents/%player%'s Event-1"
wait 2 ticks
load world "plugins/CamCraftCore/CCEvents/%player%'s Event-1"
wait 20 seconds
teleport player to spawn of "plugins/CamCraftCore/CCEvents/%player%'s Event-1"
else:
send "&0[&3&l%{ePrefix}%&0] &3Your event is still being created or already exists. If you haven't been send in 20 seconds, type /mv tp %player%'s Event-1."
Also maybe he doesn't teleport me becouse spawn of that world is in air.
[doublepost=1500333177,1500326842][/doublepost]BUMP