then @inwin should do it for you

Code:

if @inwin = 2
;we're on 9x
endif

_________________________