but, if you run the same code for each subnet that is matched, would be better with something like moan() returning the subnet you are in now. and then:
Code:

$subnets="insert","the","subnets","here","as","an","array"
if -1<ascan($subnets,$moan_sub)
;run your stuff
endif

_________________________
!

download KiXnet