How about:

Code:

If "\\"+@WKSTA = "%LOGONSERVER%"
?"Logging in with cached credentials..."
Endif