turnscript element

<turnscript name="name">attributes</turnscript>

Turnscript attributes:

enabled
boolean specifying whether turnscript is active

script
script specifying what to do after each turn

Note that as of 5.7.2, turnscripts run in alphabetic order (in earlier versions the order could change unexpectedly). To have turnscripts in a certain order, prefix them “ts01”, “ts02”, … .