Size: 144
Comment:
|
Size: 242
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
AbandonAllValleys | == AbandonAllValleys == Script to drop all valleys |
Line 4: | Line 5: |
label abandonAllValleys if city.fields.length = 0 goto done execute "abandon " + city.fields[0].coords if !$error goto abandonAllValleys |
|
Line 5: | Line 10: |
label abandonAllValleys x = city.fields.length if x execute "abandon "+FieldIdToCoords(0) x = x-1 |
label done |
Line 14: | Line 12: |
---- ScriptExamples |
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