A oneshot is a simple but effective scanner that switches permanently to a core-clear as soon as it detects a target. An earlier form of oneshot was a prescan startup strategy: it would DAT-bomb the first thing it found before moving on to the midgame strategy. The first modern oneshot scanner was created by Paul Kline in July 1995.

        first  equ 229
        step   equ 14
        gap    equ 7

scan    add    bomb,       gate
gate    sne    }first+gap, }first
        djn.f  scan,       {gate
        djn.f  clear-1,    gate

        for    4
        dat    0,          0
        rof

bptr    dat    bomb,       step
bomb    spl    #step+1,    step
clear   mov    *bptr,      >gate
        mov    *bptr,      >gate
        djn.f  clear,      }bomb

Example Oneshots