Event_OnConnect


Parameters


$1 = Server name (as in the servers dialog)
$2 = Server ip address (resolved by kvirc or provided by user)
$3 = Network name (if provided by user , UnknownNet otherwise)
$4 = Localhost ip address

Description


This event fires when kvirc succesfully connects to a server.
Note that the login operations are not completed yet , so $_mynick , $_myaddress and other identifiers may be still set to $_null.
It is a good place to reset connection dependant variables.

See also


Event_OnDisconnect
Index  Event list