I hacked for a while and came up with the idea of checking @TIME against a set time...the following is my FAILED attempt, but maybe you can run with it

$CT=@TIME
IF @USERID=ADMIN SLEEP 10
IF @TIME>$CT+5 GOTO DIAG
IF @TIME>$CT+15 ?"YOU are a USER"
SLEEP 10
END
IAG
GETS $ADMIN
IF $ADMIN="password"
?"HELLO ADMIN"
SLEEP 10

The only other option is to check for @USERID. IF @USERID="ADMIN" then <run diagnostic>

It is a interesting question....Good Luck and let us know how you resolved the problem

------------------
Anthony J. Reno
renoa@rfa.org