• 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

    This script checks your target coordinates every 5 minutes to see if they're in peacetime yet, and once they are announces it in alliance chat and stops. Just edit the target = line with your target's coordinates.

    target = "152,605"
    
    // Nothing to edit below here.
    label start
    execute "scanmap " + target + " 5"
    x = GetDetailInfo(GetFieldId(target), false, 60)
    if !x repeat
    if x.state != 1 goto statex
    echo "*** ATTENTION *** " + x.userName + " is now in peacetime!"
    execute "alliancechat *** ATTENTION *** " + x.userName + " is now in peacetime!"
    end
    
    label statex
    echo x.userName + " is not in peacetime yet, so we'll keep checking."
    sleep 300
    goto start 


    ScriptExamples

    PeacetimeStatusChecker (last edited 2013-11-23 23:55:53 by Inanna)