Added in 3.8


Returns $true if protect is enabled, otherwise $false.

see also /protect.


Returns any matching address in the protect list, or the Nth address.


address - Address to match.
N - If N = 0, number of addresses, otherwise the Nth address.


.type - Returns the list of channels for this address.
.network - Returns the network name for this address.


; Check if 'nick!ident@host' is in the protect list.
//echo -g protect for nick!ident@host was $iif($protect(nick!ident@host), found, not found)