Size: 218
Comment:
|
Size: 242
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 |
Line 11: | Line 10: |
label done | |
Line 12: | 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