Project

General

Profile

Actions

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

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

Properties

Property Description
.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 almost 2 years ago · 5 revisions

Also available in: PDF HTML TXT