• 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:

    return

    Example:

    return

    Used with Gosub at the end of a subroutine to return to the line that called it, and proceed from there.

    • gosub medalfarm
      gosub trainarch
      gosub upgradecot
      loop 0
      
      label medalfarm
      attack 123,300 !Bubba,!Xavier,any t:400,b:400
      return
      //
      label upgradecot
      upgrade house
      repeat 2
      return
      //
      label trainarch
      train arch:2500 Hero
      return



    ScriptControlStructures

    Return (last edited 2012-10-24 20:30:00 by Romulus)