• 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 "Label"
    Differences between revisions 6 and 7
    Revision 6 as of 2012-09-09 22:32:43
    Size: 1120
    Editor: Inanna
    Comment:
    Revision 7 as of 2012-10-21 15:25:07
    Size: 1104
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 19: Line 19:
    CategoryAllScripts CategoryGeneralScripts CategoryControlStructures

    Usage:

    label name

    Example:

    label comfort
    label upgraderax

    Creates a placeholder within the scripts that can be referenced for a loop or goto command.

    • attack 360,843 any t:400,b:400
      attack 344,567 any t:400,b:400
      attack 400,543 any t:400,b:400
      label upgrade
      upgrade barrack
      loop upgrade 5

    In the above example, loop upgrade 5 will tell the bot to perform the action within the label upgrade only. So in this case, the bot would attack the 3 npcs then upgrade a barrack 5 times.


    CategoryControlStructures

    Label (last edited 2012-10-24 01:29:34 by Romulus)