Project

General

Profile

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)

Also available in: PDF HTML TXT