• 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 "Comments"
    Differences between revisions 1 and 2
    Revision 1 as of 2012-09-18 13:28:24
    Size: 595
    Editor: Inanna
    Comment:
    Revision 2 as of 2012-09-18 13:29:57
    Size: 647
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    You may "comment" out certain lines by adding a // or # at the beginning of the line. The bot will not perform any goals written on a commented line. This is a good way to remind yourself what a line does, eg: You may "comment" out certain lines by adding a // or # at the beginning of the line. The bot will not perform any goals or scripts written on a commented line.

    This is a good way to remind yourself what a line is meant to do, eg:
    Line 5: Line 7:
    capturedfirelimit 100 keepcapturedheroes any:level>=100
    Line 9: Line 11:
    or a good way to temporarily turn off a feature in your goals, eg:
    It is als
    o a good way to temporarily turn off a feature in your goals, eg:
    Line 12: Line 15:
    // Disable the next line temporarily until I get around to porting it... // Disable the next line temporarily until I get around to porting my city...

    You may "comment" out certain lines by adding a // or # at the beginning of the line. The bot will not perform any goals or scripts written on a commented line.

    This is a good way to remind yourself what a line is meant to do, eg:

    // Tell my bot not to fire any hero I capture of lvl 100 or higher
    keepcapturedheroes any:level>=100
    // Tell my bot to farm lvl 5 npcs
    config npc:5

    It is also a good way to temporarily turn off a feature in your goals, eg:

    // Disable the next line temporarily until I get around to porting my city...
    #keepresource AnotherTown w:20000000,i:20000000 5000000


    CategoryHowTo

    Comments (last edited 2012-11-06 00:03:48 by Susannah)