![]() |
![]() |
$chan.matchqbanMatches a mask agains the channel ban list searcing for +q bans (aka mute bans) |
Usage |
|
Description |
Warning: this function is network-specific, makes some (bad) assumptions about a non-standard channel mode and
will probably be dropped in a future version. Use $chan.matchmask instead. Some networks use +q channel mode to set "mute bans". When an user mask matches such a ban, he won't be able to send messages to the channel. The "mute bans" masks will be inserted in the normal channel bans list, with a percent sign % prepended. This function returns the "mute ban" mask that matches <complete_mask> on channel identified by [window_id]. If no ban mask matches <complete_mask> an empty string is returned. If [window_id] is empty, the current window is used. If the window designated by [window_id] is not a channel a warning is printed and an empty string is returned. This function is useful to determine if a "mute ban" set on the channel matches an user. |
Syntax Specification |
|