||Usage: ||loadgoals [goal set number] || ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||loadgoals<
>loadgoals 3 || This script command will allow you to load a set of goals to be ran by the bot. An example of a use for this would be in a city used for trebbing. You could tell the bot to load goal set 1, where you have your npc farming and hero movement and such disabled, perform all the treb hits via scripts, and then reload your regular goal set 0 where you have npc farming and such enabled when the treb hits are done. A script doing this could be like so: . {{{ //Trebbing Session gosub TrebSession label BeginHere ifgoto ( m_city.cityManager.resource.stone.amount < 5b ) OuttaStone ifgoto ( m_city.cityManager.fortification.rockfall < 10500 ) Rebuildwall goto BeginHere label Rebuildwall setmayorbyname Queen walldefense tre 11k build sleep 15 goto BeginHere label OuttaStone echo "Getting Low On Stone!" loadgoals 0 stop label TrebSession loadgoals 1 walldefense tra 50000 demo walldefense ab 50000 demo walldefense at 50000 demo walldefense r 50000 demo walldefense tre 50000 demo gosub BeginHere }}} ---- ScriptControlStructures ScriptCity