• 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
    • Diff for "AbandonAllValleys"
    Differences between revisions 3 and 5 (spanning 2 versions)
    Revision 3 as of 2013-08-03 06:35:54
    Size: 238
    Editor: tech
    Comment:
    Revision 5 as of 2014-10-14 21:25:38
    Size: 242
    Editor: Romulus
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 2: Line 2:
    Script to drop all vallys Script to drop all valleys
    Line 6: Line 6:
    x = city.fields.length
    if x execute  "abandon "+FieldIdToCoords(city.fields[0].id)
    x = x-1

    if x >=0 goto abandonAllValleys
    if city.fields.length = 0 goto done
    execute "abandon " + city.fields[0].coords
    if !$error goto abandonAllValleys

    label done

    AbandonAllValleys

    Script to drop all valleys

    label abandonAllValleys
    if city.fields.length = 0 goto done
    execute "abandon " + city.fields[0].coords
    if !$error goto abandonAllValleys
    
    label done


    ScriptExamples

    AbandonAllValleys (last edited 2014-10-15 14:14:18 by Inanna)