Citrix clients use the Environment variable %winstationname% to identify themselves. Check check for this. Something like:

if len("%winstationname%")>1 "hello Citrix user!" endif

etc


cj