Usage: |
loop [optional # of times] |
Example: |
loop |
Allows you to repeat your entire script, or using a label repeat parts of a script. No parameter, or a parameter of 0 (ie - loop 0), will repeat the script indefinitely.
//=============================== // Upgrade everything in your // city, as long as tech and // resource requirements are met //=============================== upgrade loop //=============================== // Upgrade your farms, sawmills // and your ironmines, then // repeat the process again // 5 times //=============================== upgrade farm upgrade saw upgrade iron loop 5 //=============================== // Upgrade your farms, sawmills // and your ironmines, then // upgrade cottages and repeat the cottages again // 5 times //=============================== upgrade farm upgrade saw upgrade iron label cotupgrade upgrade cottage loop 5 cotupgrade