Project

General

Profile

Actions

$ircv3caps » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Per Amundsen, 12/19/2017 02:05 AM


Added in 3.0

$ircv3caps(N|name)

Returns the Nth or the specific IRCv3 cap available on the server.

Parameters

N - If N = 0, number of caps, otherwise the Nth cap.
name - The specific named cap.

Properties

.enabled - Returns $true if the cap is currently enabled, otherwise $false.

Example

//echo -ag There are $ircv3caps(0) caps available, the first one is $ircv3caps(1) and $iif($ircv3caps(1).enabled, it's, it's not) enabled

Updated by Per Amundsen over 6 years ago · 2 revisions

Also available in: PDF HTML TXT