From WikiChip
Editing mirc/on events/on load
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
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. | 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. | ||
Line 6: | Line 5: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 105px;">'''<level>'''</span>The | + | <span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger. |
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | <span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | ||
== Example == | == Example == | ||
− | When the following script is loaded, it will give the user an | + | When the following script is loaded, it will give the user an [[$input identifier - mIRC|$input]] popup greeting: |
<source lang="mIRC">ON *:LOAD:noop $input(Thanks for loading my script!,oi,Script Loaded!)</source> | <source lang="mIRC">ON *:LOAD:noop $input(Thanks for loading my script!,oi,Script Loaded!)</source> | ||
Line 22: | Line 21: | ||
== Compatibility == | == Compatibility == | ||
− | + | Added: mIRC v2.1a | |
+ | |||
+ | Added On: 28/02/95 | ||
== See Also == | == See Also == | ||
Line 28: | Line 29: | ||
* [[On unload - mIRC|ON UNLOAD]] | * [[On unload - mIRC|ON UNLOAD]] | ||
* {{mIRC|/load}} | * {{mIRC|/load}} | ||
− | * | + | * [[/unload commnand - mIRC|/unload]] |
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:MIRC on events]] |