2 # This is an example filter for the 'isolated' node k1xx
4 # I give him any spots that have a spotter or a spotted in the
5 # US. In other filters on the UK side I do the opposite see
8 # the elements of each list are
10 # [action, field_no, sort, possible_values, hops]
19 # 2 = date in unix format
22 # 5 = spotted dxcc country
23 # 6 = spotter's dxcc country
29 # 12 = callsign of the channel on which the spot has appeared
32 # n - numeric list of numbers e.g. [ 1,2,3 ]
33 # r - ranges of pairs of numbers e.g. between 2 and 4 or 10 to 17 - [ 2,4, 10,17 ]
34 # a - an alphanumeric regex
35 # d - the default rule
37 # if hops is left out or zero then the existing hop count will be used as normal
39 # The spot data (in this case '15') is the used as the hop count
40 # if this is missing then the normal default applies
44 [ 1, 5, 'n', [ 226 ], 15 ], # dxcc country 226 is the US
45 [ 1, 6, 'n', [ 226 ], 15 ],
46 [ 0, 0, 'd' ], # default action (don't forward)