• 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

    Upload page content

    You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

    File to load page content from
    Page name
    Comment

    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