on logon
Indice
The ON LOGON event triggers immediately after mIRC has begun connection to a server, and has sent the standard PASS”), NICK”), and USER”) information to the server.
Note: This event can be prefixed with the ^ character to cause the event to trigger before the PASS”), NICK”), and USER”) information is sent to the server. Utilizing this ^ character, the events can even be halted, and no information sent to the server; this will most-likely cause a connection interruption, or disconnection entirely.
| Contents - 1 Synopsis - 2 Parameters - 3 Examples - 4 Compatibility - 5 See Also |
Synopsis
ON <level>:LOGON:*:<commands>
Parameters
**
*The server name to be matched. Can also be a wildcard”).
**
Examples
Echo to the active window some information before the login information is sent, using the ^ prefix:
ON ^*:LOGON:echo -a Connecting to $server through the $network network...
Create a popup window which shows up after a successful connection is established:
ON ^*:LOGON:noop $input(Successfully connected to: $server $+ !,io,Connection Successful)
The event above will generate a popup-window much like the one in the screenshot below:
Compatibility
Added: mIRC v6.03
Added on: 08/16/2002
Note: Individual switches were not taken into consideration.
See Also
mIRC on event list
| A on Action, on Active, on Agent”), on Appactive B on Ban C 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 E on Error, on Exit F on Filercvd, on Filesent G on Getfail | H on Help, on Hotlink I on Input, on Invite J on Join K on Keydown, on Keyup, on Kick L on Load, on Logon M on Me”), on Midiend, on Mode, on Mp3end N on Nick, on Nosound, on Notice, on Notify O on Op, on Open, on Owner P on Part, on Ping, on Playend, on Pong | Q on Queryclose”), on Queryopen”), on Quit R on Rawmode 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 T on Text, on Topic U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode | V on Vcmd, on Voice W on Wallops, on Waveend |