City Management Scripts


Usage: comfort comforttype
Example: comfort pray
comfort 1
comfort bless
comfort 4

Performs one of the comfort commands in the city that it is run from.


1 relief
2 pray
3 bless
4 poprise


Usage: levy levytype
Example: levy 1; levy food; levy 3; levy stone; levy 5

Performs one of the levy actions in the city run from.


1 gold
2 food
3 wood
4 stone
5 iron


Usage: settaxrate rate%
Example: settaxrate 20

Sets Tax Rate to 20%


Usage: production food% wood% stone% iron%
Example: production 100 100 100 100

Sets city production of resources. You must use a number between 0 and 100 and there must be ONE space between the command and each value changed.


Usage: evacuatetown coords
Example: evactuatetown 111,222

This script command will tell the bot to send all troops and resources that it can carry to the specified coordinates from this city, in order for the town to be abandoned later. The bot will leave 10 scouts and all of the heroes in the city. You must move them manually. This script should be run before config abandon:1 is used in goals.

To cancel the evacuation use EndEvacuate.


Usage: teleport [state]
Example: teleport saxony
States: freisland, saxony, north march, bohemia,
lower lorraine, franconia, thuringia, moravia,
upper lorraine, swabia, bavaria, carinthia,
burgundy, lombardy, tuscany, romagna

Random teleports your city to the state specified.


Usage: abandon XXX,YYY
Example: abandon 111,222

Abandon the valley at 111,222


Usage: AbandonTown
Example: abandontown

Abandontown should be used with care. It is used in the SCRIPTS TAB of the Town to be abandoned. It is best to allow the bot to BUILD NPCs, but for whatever purpose you must use this command DOUBLE CHECK that it is in the City to be Abandoned. Be sure to run 'evacuatetown' script command previous to using this command.

There are No 2nd Chances using this command!


Usage: setgate boolean
Example: setgate true
setgate false

True to open gate, false to close gate.

*NOTE : The Gate Config must be disabled with "config gate:0" to enable this script command.


Usage: buildcity xxx,yyy
Example: buildcity 111,222

Used to build a city on previously captured flat at 111,222

To cancel a city building, use CancelBuildcity.