From WikiChip
Difference between revisions of "mirc/on events"
< mirc

(List of {{mirc|on event|on events}} in mIRC (alphabetized))
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{mIRC Guide}}
+
{{mirc title|List of On Events}}
= Synopsis =
+
'''Note''': If you are unfamiliar with mIRC events, we suggest you to read our {{mIRC|on event|intro}} about events.
  
All events share a common syntax:
+
== List of {{mirc|on event|on events}} in [[mIRC]] (alphabetized) ==
 +
<!--
 +
        ============================================
 +
        = HELLO VISITOR!
 +
        = IF YOU ARE ADDING AN ON EVENT TO THIS LIST PLEASE ALSO UPDATE
 +
        = THE NAVIGATION TEMPLATE (WHICH IS USED AT THE BOTTOM)
 +
        = Template:mIRC on event list
 +
        = (http://en.wikichip.org/wiki/Template:mIRC on event list)
 +
        ============================================
 +
-->
 +
{{collist
 +
|count = 4
 +
|style = width: 66%; display: inherit;
 +
|
 +
* {{mirc|on action}}
 +
* {{mirc|on active}}
 +
* {{mirc|on agent}}
 +
* {{mirc|on appactive}}
 +
* {{mirc|on ban}}
 +
* {{mIRC|on char}}
 +
* {{mirc|on chat}}
 +
* {{mirc|on chatclose}}
 +
* {{mirc|on chatopen}}
 +
* {{mirc|on close}}
 +
* {{mirc|on connect}}
 +
* {{mirc|on connectfail}}
 +
* {{mirc|on ctcpreply}}
 +
* {{mirc|on dccserver}}
 +
* {{mirc|on dehelp}}
 +
* {{mirc|on deop}}
 +
* {{mirc|on deowner}}
 +
* {{mirc|on devoice}}
 +
* {{mirc|on dialog}}
 +
* {{mirc|on disconnect}}
 +
* {{mirc|on dns}}
 +
* {{mirc|on error}}
 +
* {{mirc|on exit}}
 +
* {{mirc|on filercvd}}
 +
* {{mirc|on filesent}}
 +
* {{mirc|on getfail}}
 +
* {{mirc|on help}}
 +
* {{mirc|on hotlink}}
 +
* {{mirc|on input}}
 +
* {{mirc|on invite}}
 +
* {{mirc|on join}}
 +
* {{mirc|on keydown}}
 +
* {{mirc|on keyup}}
 +
* {{mirc|on kick}}
 +
* {{mirc|on load}}
 +
* {{mirc|on logon}}
 +
* {{mirc|on midiend}}
 +
* {{mirc|on mode}}
 +
* {{mirc|on mp3end}}
 +
* {{mirc|on nick}}
 +
* {{mirc|on nosound}}
 +
* {{mirc|on notice}}
 +
* {{mirc|on notify}}
 +
* {{mirc|on op}}
 +
* {{mirc|on open}}
 +
* {{mirc|on owner}}
 +
* {{mirc|on parseline}}
 +
* {{mirc|on part}}
 +
* {{mirc|on ping}}
 +
* {{mirc|on playend}}
 +
* {{mirc|on pong}}
 +
* {{mirc|on queryclose}}
 +
* {{mirc|on queryopen}}
 +
* {{mirc|on quit}}
 +
* {{mirc|on rawmode}}
 +
* {{mirc|on sendfail}}
 +
* {{mirc|on serv}}
 +
* {{mirc|on servclose}}
 +
* {{mirc|on servermode}}
 +
* {{mirc|on serverop}}
 +
* {{mirc|on servopen}}
 +
* {{mirc|on signal}}
 +
* {{mirc|on snotice}}
 +
* {{mirc|on sockclose}}
 +
* {{mirc|on socklisten}}
 +
* {{mirc|on sockopen}}
 +
* {{mirc|on sockread}}
 +
* {{mirc|on sockwrite}}
 +
* {{mIRC|on songend}}
 +
* {{mirc|on start}}
 +
* {{mirc|on tabcomp}}
 +
* {{mirc|on text}}
 +
* {{mirc|on topic}}
 +
* {{mirc|on udpread}}
 +
* {{mirc|on udpwrite}}
 +
* {{mirc|on unban}}
 +
* {{mirc|on unload}}
 +
* {{mirc|on unotify}}
 +
* {{mirc|on usermode}}
 +
* {{mirc|on vcmd}}
 +
* {{mirc|on voice}}
 +
* {{mirc|on wallops}}
 +
* {{mirc|on waveend}}
 +
}}
  
<source lang="mIRC">
 
on <prefixes><level>:EVENT:param1:param2:paramN:{
 
  command
 
}
 
</source>
 
 
== Levels ==
 
 
Levels in mIRC are assigned both to an user and to an event. The purpose is to limit the access of an event to user.
 
 
The default access level is 1, this can be changed with {{mIRC|/dlevel}} or in the Options item in the menu of the script editor to allow unlisted users to access
 
 
The number of parameters varies from event to event.
 
 
== List of event <prefixes>  ==
 
 
Event prefixes allow you to change the way mIRC will trigger the event, by adding extra conditions.
 
 
Event Prefixes are to be used right before the <level> parameter of an event
 
 
=== me ===
 
 
The me prefix means that the event must be triggered by you, literally, this is the same as having if ($nick == $me) on top of the event body.
 
 
'''Note''': You must seperate the me prefix from the <level> parameter and from the others prefixes with a semi-colon ':'.
 
 
=== + ===
 
 
The + prefix indicates that the nickname must have that level set, an user with level 10 can't acccess an event with +5.
 
 
=== * ===
 
 
The * prefix indicates that any user can trigger the event, regardless of their access level (also if they don't have one)
 
 
This event prefix is what you want to use in general, any event unrelated to the IRC server should use the * event prefix.
 
 
=== ! ===
 
 
The ! prefix means the event must not be triggerd by you (opposite of the me prefix).
 
 
=== @ ===
 
 
The & prefix means the event won't be trigger if a previous script used /halt or /haltdef to halt the default processing of the event inside an event, {{mIRC|$halted}} return $true/$false depending on if a previous script halted default processing.
 
 
=== $ ===
 
 
The $ prefix means the matchtext parameter of an event (if applicable) is a regular expression
 
 
=== ===
 
== List of [[on events - mIRC|ON Events]] in [[mIRC]] (alphabetized) ==
 
{| id="mp-langs1" style="margin:4px 0 0 0; width:70%; background:none; border-spacing: 0px;"
 
| class="MainPageBG" style="width:100%;  vertical-align:top; color:#000;" |
 
{| id="mp-bottom" style="width:100%; vertical-align:top; "
 
 
| style="width:5%; font-size:95%; vertical-align: top;" |
 
* [[on action - mIRC|on action]]
 
* [[on active - mIRC|on active]]
 
* [[on agent - mIRC|on agent]]
 
* [[on appactive - mIRC|on appactive]]
 
* [[on ban - mIRC|on ban]]
 
* [[on chat - mIRC|on chat]]
 
* [[on chatclose - mIRC|on chatclose]]
 
* [[on chatopen - mIRC|on chatopen]]
 
* [[on close - mIRC|on close]]
 
* [[on connect - mIRC|on connect]]
 
* [[on connectfail - mIRC|on connectfail]]
 
* [[on ctcpreply - mIRC|on ctcpreply]]
 
* [[on dccserver - mIRC|on dccserver]]
 
* [[on dehelp - mIRC|on dehelp]]
 
* [[on deop - mIRC|on deop]]
 
* [[on deowner - mIRC|on deowner]]
 
* [[on devoice - mIRC|on devoice]]
 
* [[on dialog - mIRC|on dialog]]
 
* [[on disconnect - mIRC|on disconnect]]
 
* [[on dns - mIRC|on dns]]
 
* [[on error - mIRC|on error]]
 
 
| style="width:5%; font-size:95%;" |
 
* [[on exit - mIRC|on exit]]
 
* [[on filercvd - mIRC|on filercvd]]
 
* [[on filesent - mIRC|on filesent]]
 
* [[on getfail - mIRC|on getfail]]
 
* [[on help - mIRC|on help]]
 
* [[on hotlink - mIRC|on hotlink]]
 
* [[on input - mIRC|on input]]
 
* [[on invite - mIRC|on invite]]
 
* [[on join - mIRC|on join]]
 
* [[on keydown - mIRC|on keydown]]
 
* [[on keyup - mIRC|on keyup]]
 
* [[on kick  - mIRC|on kick ]]
 
* [[on load - mIRC|on load]]
 
* [[on logon - mIRC|on logon ]]
 
* [[on me - mIRC|on me]]
 
* [[on midiend - mIRC|on midiend]]
 
* [[on mode - mIRC|on mode]]
 
* [[on mp3end - mIRC|on mp3end ]]
 
* [[on nick - mIRC|on nick]]
 
* [[on nosound - mIRC|on nosound]]
 
* [[on notice - mIRC|on notice]]
 
 
| style="width:5%; font-size:95%; vertical-align: top;" |
 
* [[on notify  - mIRC|on notify ]]
 
* [[on op - mIRC|on op]]
 
* [[on open  - mIRC|on open ]]
 
* [[on owner - mIRC|on owner]]
 
* [[on part - mIRC|on part]]
 
* [[on ping - mIRC|on ping]]
 
* [[on playend - mIRC|on playend]]
 
* [[on pong - mIRC|on pong]]
 
* [[on queryclose - mIRC|on queryclose]]
 
* [[on queryopen - mIRC|on queryopen]]
 
* [[on quit - mIRC|on quit]]
 
* [[on rawmode - mIRC|on rawmode]]
 
* [[on sendfail - mIRC|on sendfail]]
 
* [[on serv - mIRC|on serv]]
 
* [[on servclose - mIRC|on servclose]]
 
* [[on servermode - mIRC|on servermode]]
 
* [[on serverop - mIRC|on serverop]]
 
* [[on servopen - mIRC|on servopen]]
 
* [[on signal - mIRC|on signal]]
 
* [[on snotice - mIRC|on snotice]]
 
* [[on sockclose - mIRC|on sockclose]]
 
 
| style="width:5%; font-size:95%; vertical-align: top;" |
 
* [[on socklisten - mIRC|on socklisten]]
 
* [[on sockopen - mIRC|on sockopen]]
 
* [[on sockread - mIRC|on sockread]]
 
* [[on sockwrite - mIRC|on sockwrite]]
 
* [[on start  - mIRC|on start ]]
 
* [[on text - mIRC|on text]]
 
* [[on topic  - mIRC|on topic ]]
 
* [[on udpread - mIRC|on udpread]]
 
* [[on udpwrite - mIRC|on udpwrite]]
 
* [[on unban - mIRC|on unban]]
 
* [[on unload - mIRC|on unload]]
 
* [[on unotify - mIRC|on unotify]]
 
* [[on usermode  - mIRC|on usermode ]]
 
* [[on vcmd - mIRC|on vcmd]]
 
* [[on voice  - mIRC|on voice ]]
 
* [[on wallops - mIRC|on wallops]]
 
* [[on waveend  - mIRC|on waveend ]]
 
 
 
 
 
* {{mIRC|List of event prefixes}}
 
|}
 
|}
 
 
{{mIRC on event list}}
 
{{mIRC on event list}}
 
+
[[Category:mIRC on events| events]]
[[Category:MIRC on events]]
+
[[Category:mIRC|events]]
[[Category:MIRC]]
 

Latest revision as of 17:33, 22 January 2022

Note: If you are unfamiliar with mIRC events, we suggest you to read our intro about events.

List of on events in mIRC (alphabetized)[edit]