

No parameter, or a parameter of 0 (ie - repeat 0), will repeat the previous line indefinitely.Īttack 245,325 Bubba arch:25000,warr:25000,t:1000 The repeat command will simply repeat the previous line of script the specified number of times.
#Evony bot scripts upgrade#
upgrade cottages and repeat the cottages again No parameter, or a parameter of 0 (ie - loop 0), will repeat the script indefinitely. Loop Īllows you to repeat your entire script, or using a label repeat parts of a script. Used at the end of a subroutine to return to the line that called it, and proceed from there. If no number is entered, or the number is greater than the number of lines in the script, the script begins at line #1.Ĭreates a placeholder within the scripts that can be referenced for a loop or goto command.Īllows you to jump to any label, anywhere in the script.Īttack 123,300 !Bubba,!Xavier,any t:400,b:400 Scripts are executed from the top down, beginning at the line number specified in the Run box. Variables for use in ifgoto & ifgosub statements can be found in the Reference Section. The script set includes ifgosub and ifgoto statements allowing you to automatically make decisions based on conditions in your city, such as the amount of lumber or number of warriors you have on hand. Note that goals modified or added in the script window will not be reflected in the goals window, or saved with them. The commands available give you the ability to perform all of the the same functions the bot works towards in the goals window, as well as add to or alter those goals. Individual scripts are selected by way of the Load button.

#Evony bot scripts windows#
There are 5 individual script windows per city, allowing you to build up to 5 command sets per city, that will be saved (provided you select the save button) along with your goals. The Script window is similar to the Goals window, and is found by selecting the Script tab on the upper left hand window. The script command train a:5000 will immediately queue 5000 archers in your barracks regardless of how many you have already, provided of course you have the population and resources needed. If you already have 5000 or more archers, it is disregarded. For instance, the directive troop a:5000 in the goals window tells the bot to build archers until you have 5000 then move to the next goal. Scripting allows you to enter commands to the bot that will be performed immediately line by line, as opposed to goals which are gradually worked towards.
