• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • 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

    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.



    ScriptControlStructures

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