VaporWare
VaporWare AmIRC Main Index [Previous| Chapter Index|Next]

Arexx Commands

GETUSERS

Usage: GETUSERS WINNUM/N,CHANNEL/K

Returns a string containing the list of users on the active channel.

The user list is time-sorted and every user is appended the "@" char for Ops and "+" char for voice.This is effectively a copy from /names output. This will look like : @Nick1 Nick2 +Nick3 Nick4 Nick1 is opped,and joined the channel first(is first in the list). Nick3 is voiced. Nick4 joined the channel last.

If the WINNUM argument is specified,the users in that window will be returned. If the CHANNEL argument is specified,the users in that channel will be returned.

RELATED TOPICS: See RX_GETUSER- RX_GETSELECTEDUSER

Examples:

     options results; "getusers"; "ECHO" result

     options results; "getusers WINNUM=1"; "ECHO" result

     options results; "getusers CHANNEL=#amiga"; "ECHO" result