• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Sleep"
    Differences between revisions 2 and 3
    Revision 2 as of 2012-09-05 13:31:53
    Size: 1221
    Editor: Inanna
    Comment:
    Revision 3 as of 2012-09-05 13:35:42
    Size: 1965
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablestyle="margin: 1em 1em 1em 0px; background-color: rgb(249, 249, 249); border-style: solid; border-color: rgb(170, 170, 170); color: rgb(0, 0, 0); font-family: sans-serif; font-size: 13px; line-height: 19.5px; text-align: start; " tableclass="wikitable"style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Usage:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">sleep ''seconds''<<BR>>sleep ''hh:mm:ss'' ||
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">sleep 15<<BR>>sleep 1:43<<BR>>sleep 4:22:32 ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;" tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sleep ''seconds''<<BR>>sleep ''hh:mm:ss''<<BR>>sleep @:hh:mm:ss||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">sleep 15<<BR>>sleep 1:43<<BR>>sleep 4:22:32<<BR>>sleep @:14:15:00 ||
    Line 5: Line 5:
    The sleep command will cause the bot to pause for the indicated time, which can be expressed as seconds only (i.e. 34, 240, 23432), minutes and seconds (i.e. 4:30) or hours, minutes, seconds (2:44:34). The sleep command will cause the bot to pause for the indicated time, which can be expressed as seconds only (i.e. 34, 240, 23432), minutes and seconds (i.e. 4:30) or hours, minutes, seconds (2:44:34). 
    Line 7: Line 7:
     {{{ 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.

     . {{{
    Line 14: Line 16:
    //Sleeps the script until 3:45pm local system time
    sleep @:15:45
    Line 15: Line 20:

    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.

    Usage:

    sleep seconds
    sleep hh:mm:ss
    sleep @:hh:mm:ss

    Example:

    sleep 15
    sleep 1:43
    sleep 4:22:32
    sleep @:14:15:00

    The sleep command will cause the bot to pause for the indicated time, which can be expressed as seconds only (i.e. 34, 240, 23432), minutes and seconds (i.e. 4:30) or hours, minutes, seconds (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.

    • //Sleeps the script for 30 seconds
      sleep 30
      //Sleeps the script for 2 minutes 45 seconds
      sleep 2:45
      //Sleeps the script for 7 hours, 25 minutes and 0 seconds
      sleep 7:25:00
      //Sleeps the script until 3:45pm local system time
      sleep @:15:45

    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.


    CategoryAllScripts CategoryFunctionScripts

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