function WorldJump() { if ${instance} { echo "world jump function called" move -stop Endscript wowbot do { waitframe } while !${Me(exists)} wowpress -hold moveforward wait 1 wowpress -release moveforward wait 10 do { waitframe echo waiting..... } while !${Script[wowbot](exists)} wait 20 run wowbot/wowbot Script[wowbot]:Resume