*** This script selects or deselects sectors consisting of more than one loop.

// Parameter list begins
mov r99 1 // Set to 0 to deselect
// Parameter list ends
~~~ Default parameters:
~~~ mov r99 1 // Set to 0 to deselect
mov r00 -1
for each nonignored sector r00
  getsector r00 wallptr r01
  getsector r00 wallnum r02
  dec r02
  add r02 r01
  getwall r02 point2 r02
  if r02 != r01
    selectsector r00 r99
  endif
continue