• 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 1 and 2
    Revision 1 as of 2012-09-05 13:31:27
    Size: 1221
    Editor: Inanna
    Comment:
    Revision 2 as of 2012-09-05 13:31:53
    Size: 1221
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 8: Line 8:
    sleep 30 //Sleeps the script for 30 seconds
    sleep 2:45 //Sleeps the script for 2 minutes 45 seconds
    sleep 7:25:00 //Sleeps the script for 7 hours, 25 minutes and 0 seconds
    //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

    Usage:

    sleep seconds
    sleep hh:mm:ss

    Example:

    sleep 15
    sleep 1:43
    sleep 4:22:32

    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).

    • //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


    CategoryAllScripts CategoryFunctionScripts

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