Arexx Commands
GETUSERSTATE
Usage: GETUSERSTATE USER/N/A,WINNUM/N,CHANNEL/K
Returns the status of user "num" on the active channel.
- RC=0 User is online, but has no special status.
- RC=1 User is Channel Operator.
- RC=2 User is online and has been "Voiced".
- RC=5 User # not in the userlist.
If the WINNUM argument is specified,the status for the user in that
window will be returned. If the CHANNEL argument is specified,the
status for the user in that channel will be returned.
Examples:
options results; "getuserstate 0"; "ECHO" rc
options results; "getuserstate 0 WINNUM=1"; "ECHO" rc
options results; "getuserstate 1 CHANNEL=#amiga"; "ECHO" rc