From WikiChip
Difference between revisions of "mirc/commands/reload"
m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +)) |
(→See also) |
||
(13 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''/ | + | {{mirc title|/reload Command}} |
− | Note: since mIRC v7.31, if you use the monitoring file options ( alt + r + r + o ) and a file warning dialog is opened for the file you are reloading, the dialog is automatically closed. | + | The '''/reload command''' reloads the specified alias/remote/popup file, you can only load one section of a popups file at a time. If reloading a remote script, the ON LOAD or ON START even within are not triggered. |
+ | |||
+ | '''Note''': since mIRC v7.31, if you use the monitoring file options ( alt + r + r + o ) and a file warning dialog is opened for the file you are reloading, the dialog is automatically closed. | ||
== Synopsis == | == Synopsis == | ||
Line 15: | Line 17: | ||
== Example == | == Example == | ||
− | + | Loads scriptfile.mrc without triggering ON START or ON LOAD events. If it's already loaded, this moves it to position 1 in the remote script list. | |
+ | <source lang="mIRC"> | ||
+ | /reload -rs1 scriptfile.mrc | ||
+ | </source> | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.4}} | |
== See also == | == See also == | ||
− | |||
− | |||
* {{mIRC|/load}} | * {{mIRC|/load}} | ||
− | * | + | * {{mIRC|on load}} |
− | {{mIRC | + | * {{mIRC|on start}} |
− | [[Category: | + | [[Category:mIRC commands]] |
Latest revision as of 20:39, 4 January 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /reload command reloads the specified alias/remote/popup file, you can only load one section of a popups file at a time. If reloading a remote script, the ON LOAD or ON START even within are not triggered.
Note: since mIRC v7.31, if you use the monitoring file options ( alt + r + r + o ) and a file warning dialog is opened for the file you are reloading, the dialog is automatically closed.
Synopsis[edit]
/reload <-a|-pscqnm|-ruvsN> <filename>
Switches[edit]
- -a - Specify an alias file.
- -pS - Specify a popup file, you must specify the S value which is 's' for a status window popup, 'c' for a channel popup, 'q' for query, 'n' for nicklist and 'm' for the menubar.
- -rTN - Specify a remote/user/variable file, you must specify the T value which is 'u' for an user file, 's' for a remote (script) file and 'v' for variable, the N value is optional: if specified, reload the file into the Nth position in the script list.
Parameters[edit]
- <filename> - The filename to be reloaded.
Example[edit]
Loads scriptfile.mrc without triggering ON START or ON LOAD events. If it's already loaded, this moves it to position 1 in the remote script list.
/reload -rs1 scriptfile.mrc
Compatibility[edit]
Added: mIRC v5.4
Added on: 23 Jun 1998
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.