From WikiChip
Difference between revisions of "mirc/commands/reload"
< mirc‎ | commands

m (Bot: Adding a template)
(See also)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{mIRC menu}}
+
{{mirc title|/reload Command}}
The '''/qme command''' reloads the specified alias/remote/popup file, you can only load one section of a popups file at a time
+
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.
+
 
 +
'''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 16: Line 17:
  
 
== Example ==
 
== Example ==
None
+
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 ==
Line 22: Line 26:
  
 
== See also ==
 
== See also ==
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
 
* {{mIRC|/load}}
 
* {{mIRC|/load}}
* [[on load - mIRC|on load]]
+
* {{mIRC|on load}}
{{mIRC command list}}
+
* {{mIRC|on start}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands]]

Latest revision as of 21:39, 4 January 2018

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.


See also[edit]