AutoTeleporter22014-03-18 17:00:03Inanna12014-03-18 16:59:42Inanna 0 echo "Waiting for armies to return for " + secondsLeft + " seconds"
if secondsLeft > 0 execute "sleep " + secondsLeft
]]> 0 say "Still have armies"
if city.selfArmies.length > 0 goto checkArmies
]]>= 5 goto giveup
say "Can't teleport " + city.name + " to " + state + ", will retry in 5 minutes"
sleep 5:00
goto tryteleport
]]> ScriptExamples