m (Bot: Adding a template (template:mIRC on event list)) |
m (Bot: Fixing links) |
||
Line 17: | Line 17: | ||
<pre>Disconnected from DALnet on Tuesday June 24th, 2014 at 02:06pm.</pre> | <pre>Disconnected from DALnet on Tuesday June 24th, 2014 at 02:06pm.</pre> | ||
− | The | + | The {{mIRC|$asctime}} identifier has been used here in order to specifically format the current date and time. |
== Compatibility == | == Compatibility == | ||
Line 27: | Line 27: | ||
* [[On connect - mIRC|ON CONNECT]] | * [[On connect - mIRC|ON CONNECT]] | ||
* [[On connectfail - mIRC|ON CONNECTFAIL]] | * [[On connectfail - mIRC|ON CONNECTFAIL]] | ||
− | * | + | * {{mIRC|$network}} |
− | * | + | * {{mIRC|$server}} |
{{mIRC on event list}} | {{mIRC on event list}} | ||
[[Category:MIRC on events]] | [[Category:MIRC on events]] |
Revision as of 20:04, 5 July 2014
The ON DISCONNECT event triggers when mIRC has disconnected from an IRC server. The $1- identifier is filled with any server disconnect message that is passed to mIRC.
Synopsis
ON <level>:DISCONNECT:<commands>
Parameters
<level>The level for the event to trigger.
<commands>The commands to be performed when the event listener's criteria is met.
Examples
; Echo network, and time ; when mIRC disconnected ON *:DISCONNECT:echo -a Disconnected from $network on $asctime(dddd mmmm $+(ddoo,$chr(44), yyyy)) at $asctime(hh:mmtt) $+ . Server disconnect reason: $1-
The following is an example of what will be displayed when mIRC has disconnected from a server:
Disconnected from DALnet on Tuesday June 24th, 2014 at 02:06pm.
The $asctime identifier has been used here in order to specifically format the current date and time.
Compatibility
Added: mIRC v2.1a
Added On: 28/02/95
See Also
A on Action, on Active, on Agent, on Appactive B on Ban C on Char, on Chat, on Chatclose, on Chatopen, on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns |
J on Join K on Keydown, on Keyup, on Kick M on Midiend, on Mode, on Mp3end |
Q on Queryclose, on Queryopen, on Quit S on Sendfail, on Serv, on Servclose, on Servermode, on Serverop, on Servopen, on Signal, on Snotice, on Sockclose, on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode |