# $chan.matchqban

Matches a mask agains the channel ban list searcing for +q bans (aka mute bans)

Usage

    $chan.matchqban([window_id],<complete_mask>)

Description

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

    <string> $chan.matchqban([window_id],<complete_mask>)

Index, Functions

KVIrc 4.0.4.5646 Documentation
Generated by ports-powerpc at Thu Jul 19 01:30:35 2012