Usage:

sleep seconds
sleep hh:mm:ss
sleep @:hh:mm:ss
sleep rnd:maxseconds
sleep rnd:minseconds:maxseconds

Example:

sleep 15
sleep 1:43
sleep 4:22:32
sleep @:14:15:00
sleep rnd:15
sleep rnd:20:30

The sleep command will cause the bot to pause for the indicated time, which can be expressed as seconds only (e.g. 34, 240, 23432), minutes and seconds (e.g. 4:30) or hours, minutes, seconds (e.g. 2:44:34).

When the @ symbol is used, the bot will pause until the specific time indicated, rather than after a given duration of time - based on your computer's system time. The time must be expressed in 24 hr. format, with 00:00:01 being 1 second after midnight, and 12:00:01 being 1 second past noon. This feature is similar to camp time with the added advantage that the bot will calculate how much camp time is required for your troops to arrive at the given time.

When rnd is used, the bot will sleep a random number of seconds, either up to the max seconds given, or between a min seconds and maxseconds given.

Note that there is always a slight variation between the Evony engine clock and your system time. The exact time difference between the Evony engine and your computer system time is displayed at startup or any time you click the Refresh button on the top left of the screen.



ScriptControlStructures

Sleep (last edited 2012-10-24 01:32:22 by Romulus)