From WikiChip
Editing mirc/on events/on ban
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{mIRC Guide}} |
The '''ON BAN''' event is triggered whenever a user on a channel has been banned. | The '''ON BAN''' event is triggered whenever a user on a channel has been banned. | ||
Line 8: | Line 8: | ||
* '''<level>''' - The corresponding {{mIRC|access levels}} for the event to trigger. | * '''<level>''' - The corresponding {{mIRC|access levels}} for the event to trigger. | ||
* '''<matchtext>''' - The corresponding {{mIRC|on text|matchtext}} for the event to trigger. | * '''<matchtext>''' - The corresponding {{mIRC|on text|matchtext}} for the event to trigger. | ||
− | * '''<*><#[,#]>''' - The place, or places where the event listens, you can | + | * '''<*><#[,#]>''' - The place, or places where the event listens, you can seperate them by comma. |
** '''*''' - Any channel window | ** '''*''' - Any channel window | ||
** '''#''' - Any channel window | ** '''#''' - Any channel window | ||
− | ** '''#channel[,#]''' - one or more specific channels, | + | ** '''#channel[,#]''' - one or more specific channels, seperate them by comma |
* '''<commands>''' - The commands to be performed when the event triggers | * '''<commands>''' - The commands to be performed when the event triggers | ||
Line 37: | Line 37: | ||
Otherwise, it defaults to the second ON BAN line which indicates that it is an illegal ban. Remember, this is comparing the banners and banned users levels and has nothing to do with the level 2 in the definition. | Otherwise, it defaults to the second ON BAN line which indicates that it is an illegal ban. Remember, this is comparing the banners and banned users levels and has nothing to do with the level 2 in the definition. | ||
− | |||
== Examples == | == Examples == |