Project

General

Profile

Actions

$ulist » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Per Amundsen, 08/10/2015 08:55 AM


Added in 1.9.7

$ulist(nick!userid@address,L,N)

Returns the Nth address in the Users list that matches the specified address and level.

If you do not specify a full address, it completes the address with wildcards.
If you do not specify N, the first matching address is returned.
If you specify L, only matching addresses that contain the specified level are returned.

L and N are optional, but if you specify L, you must specify N.

Parameters

nick!userid@address - Address to match.
L - Access level to match.
N - The Nth match.

Properties

.info - Returns the information field of the matched address.

Example

; Lookup all addresss and print the number of matches.
//echo -ag $ulist(*,0)

; Lookup any address and print the first one.
//echo -ag $ulist(*,1)

Updated by Per Amundsen about 9 years ago · 3 revisions

Also available in: PDF HTML TXT