On start

From Scriptwiki
Revision as of 09:54, 2 July 2007 by Cail (talk | contribs)

Jump to: navigation, search

The on START event triggers the first time a script file is ever loaded and also every time after that when mIRC is run.

on <level>:START:<commands>

You can use this event to execute everything you want to do whenever you start your mIRC (e.g. loading dialogs, connecting to several servers, updating some stats, creating and loading data in hash tables).


on *:START: { 
 echo -s Connecting to QuakeNet
 server irc.quakenet.org:6667

This example would make mIRC connect to QuakeNet whenever you start it.

See Also

  • On load event to trigger when a script file is loaded the first time.