All pastes #811615 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-11 02:21 UTC
rendered paste body
alias checkskip {
  var %i 1
  while (%i <= $lines(file.txt)) {
    if ($chr(91) isin $read(file.txt,%i)) && ($chr(42) !isin $read(file.txt,%i)) {
      if ($regex($1,$read(file.txt,%i)) > 0) {
        if ($window(@FILE) == $null) { window -aE @FILE }
        aline @Auto stopping $1 because $read(skip.txt,%i)
        halt
      }
    }
    else if ($read(file.txt,%i) iswm $1) {
      aline @FILE stopping $1 because $read(skip.txt,%i)
      halt
    }
    inc %i 1
  }
}