Ircxd.ISupport (ircxd v1.1.0)

Copy Markdown View Source

Parser for RPL_ISUPPORT (005) tokens.

Summary

Functions

Returns the bot mode from the BOT token.

Returns the advertised IRC casemapping.

Returns channel limits by channel prefix.

Returns the four mode groups from the CHANMODES token.

Returns true if a target starts with an advertised channel type.

Returns the channel limit for a target name.

Returns the parameter type for a channel mode.

Returns the characters in a token value.

Returns the lowercase ELIST extensions.

Returns true if an ISUPPORT token is enabled.

Compares two identifiers with the advertised IRC casemapping.

Returns the ban-exception mode from the EXCEPTS token.

Returns the extban prefix and supported types.

Returns true if the server supports an extban type.

Returns a nonnegative integer token value or a default value.

Returns the invite-exception mode from the INVEX token.

Returns a supported text-length limit.

Returns true if the server supports a LIST extension.

Returns the entry limit for a list mode.

Returns the legacy MAXTARGETS limit.

Returns list-mode limits from the MAXLIST token.

Returns the user mode for a status prefix.

Returns the number of mode changes allowed in one command.

Returns the network name from the NETWORK token.

Parses the token parameters from an RPL_ISUPPORT message.

Parses one ISUPPORT token into a key-value pair.

Returns the status prefix for a user mode.

Returns the user modes and symbols from the PREFIX token.

Returns the maximum number of silence-list entries.

Returns true if a target uses a status-message prefix.

Returns true if a command can use the specified target count.

Returns the target limit for a command.

Returns target limits by command from the TARGMAX token.

Functions

bot_mode(arg1)

Returns the bot mode from the BOT token.

casemap(isupport)

Returns the advertised IRC casemapping.

chanlimit(isupport)

Returns channel limits by channel prefix.

chanmodes(isupport)

Returns the four mode groups from the CHANMODES token.

channel?(isupport, target)

Returns true if a target starts with an advertised channel type.

channel_limit(isupport, target)

Returns the channel limit for a target name.

channel_mode_type(isupport, mode)

Returns the parameter type for a channel mode.

characters(isupport, key)

Returns the characters in a token value.

elist(isupport)

Returns the lowercase ELIST extensions.

enabled?(isupport, key)

Returns true if an ISUPPORT token is enabled.

equal?(isupport, left, right)

Compares two identifiers with the advertised IRC casemapping.

exception_mode(isupport)

Returns the ban-exception mode from the EXCEPTS token.

extban(arg1)

Returns the extban prefix and supported types.

extban_type?(isupport, type)

Returns true if the server supports an extban type.

integer(isupport, key, default \\ nil)

Returns a nonnegative integer token value or a default value.

invite_exception_mode(isupport)

Returns the invite-exception mode from the INVEX token.

length_limit(isupport, key)

Returns a supported text-length limit.

list_extension?(isupport, extension)

Returns true if the server supports a LIST extension.

list_limit(isupport, mode)

Returns the entry limit for a list mode.

max_targets(isupport)

Returns the legacy MAXTARGETS limit.

maxlist(isupport)

Returns list-mode limits from the MAXLIST token.

mode_for_prefix(isupport, prefix)

Returns the user mode for a status prefix.

mode_limit(isupport)

Returns the number of mode changes allowed in one command.

network_name(arg1)

Returns the network name from the NETWORK token.

parse_params(params)

Parses the token parameters from an RPL_ISUPPORT message.

parse_token(token)

Parses one ISUPPORT token into a key-value pair.

prefix_for_mode(isupport, mode)

Returns the status prefix for a user mode.

prefix_modes(isupport)

Returns the user modes and symbols from the PREFIX token.

silence_limit(isupport)

Returns the maximum number of silence-list entries.

status_target?(isupport, target)

Returns true if a target uses a status-message prefix.

target_allowed?(isupport, command, count)

Returns true if a command can use the specified target count.

target_limit(isupport, command)

Returns the target limit for a command.

targmax(isupport)

Returns target limits by command from the TARGMAX token.