The on LOGON event triggers before and after mIRC sends the standard PASS, NICK, and USER messages to the server.


Format:        on <level>:LOGON:*:<commands>

Example:        on 1:LOGON:*:/echo Logged on to server




on ^*:LOGON:*:echo Logging on to $network $server


Triggers before mIRC sends the standard logon messages to the server. If you /halt this event, mIRC will not send the standard logon messages, allowing you to send your own messages.


on *:LOGON:*:echo Logged on to $network $server


Triggers after mIRC has sent the standard logon messages.