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.
<level>The level for the event to trigger.
<servername>this parameter is based on the network name. If a network name cannot be found, it uses the group name, and if that cannot be found, it uses the server address as a last resort. Can be a wildcard. The order is important, for example if you use an ip address for this parameter and connect the first time, it will trigger, but mIRC will associate a network value and the network will be used next time, which wouldn't match the ip address, you can use * for this parameter and handle $servertarget to tie the event to a specific server target value.
<commands>The commands to be performed when the event listener's criteria is met.
Echo to the active window some information before the login information is sent, using the ^ prefix:
Create a popup window which shows up after a successful connection is established:
The event above will generate a popup-window much like the one in the screenshot below:
Added: mIRC v6.03
Added on: 16 Aug 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.