Documentazione mIRC

on load

on load

Indice

The ON LOAD event is ran whenever a script is first loaded into mIRC’s remotes section. Only one of these events may exist per script file.

Contents - 1 Synopsis - 2 Parameters - 3 Example - 4 Compatibility - 5 See Also

Synopsis

ON <level>:LOAD:<commands>

Parameters

****The level for the event to trigger.

****The commands to be performed when the event listener’s criteria is met.

Example

When the following script is loaded, it will give the user an $input”) popup greeting:

ON *:LOAD:noop $input(Thanks for loading my script!,oi,Script Loaded!)

Note: The above example can be executed directly from an mIRC command-line, without the ON LOAD event, by typing:

//noop $input(Thanks for loading my script!,oi,Script Loaded!)

The following is what the above will look like upon loading the script for the first time:

Compatibility

Added: mIRC v2.1a
Added on: 02/28/1995
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 GetfailH 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 PongQ 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 UsermodeV on Vcmd, on Voice W on Wallops, on Waveend