• 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

    Usage:

    repeat [optional # of times]

    Example:

    repeat
    repeat 5

    The repeat command will simply repeat the previous line of script the specified number of times. No parameter, or a parameter of 0 (ie - repeat 0), will repeat the previous line indefinitely.

    • //================================
      // Attack 2 targets, then upgrade
      // your cottages first, followed
      // by your barracks
      //================================
      attack 245,325 Bubba arch:25000,warr:25000,t:1000
      attack 222,324 any t:400,b:400
      upgrade cottage
      repeat 12
      upgrade barrack
      repeat 12
      
      //================================
      // Upgrade all of your buildings
      // and resource fields to level 9:
      //================================
      upgrade
      repeat



    ScriptControlStructures