From WikiChip
Difference between revisions of "mirc/commands/load"
(Created page with "The '''/load command''' can be used to load any type of existing file including: aliases, popups, remote, users, and variables. Using /load on an already loaded file will upda...") |
|||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
/load -a <filename> | /load -a <filename> | ||
− | /load - | + | /load -p<scqnm> <filename> |
− | /load - | + | /load -r<uvsN> <filename> |
== Switches == | == Switches == | ||
Line 13: | Line 13: | ||
* '''-pc''' - load channel popups file | * '''-pc''' - load channel popups file | ||
* '''-ps''' - load status window popups file | * '''-ps''' - load status window popups file | ||
− | * '''- | + | * '''-rsN''' - load remote script file |
− | * '''- | + | * '''-rvN''' - load variable file |
− | * '''- | + | * '''-ruN''' - load users file |
− | * '''-N''' - the | + | * '''-N''' - if you specify the N value with -r, it loads the file into the Nth position in the script list. |
== Parameters == | == Parameters == |
Revision as of 17:06, 4 May 2014
The /load command can be used to load any type of existing file including: aliases, popups, remote, users, and variables. Using /load on an already loaded file will update its contents while maintaining its order among other files. Note that unlike the /reload command, /load will trigger the on load and on start events.
Synopsis
/load -a <filename> /load -p<scqnm> <filename> /load -r<uvsN> <filename>
Switches
- -a - load aliases file
- -pm - load menubar popups file
- -pn - load nicklist popups file
- -pq - load query popups file
- -pc - load channel popups file
- -ps - load status window popups file
- -rsN - load remote script file
- -rvN - load variable file
- -ruN - load users file
- -N - if you specify the N value with -r, it loads the file into the Nth position in the script list.
Parameters
- <filename> - The script file to load
Example
Load three remote script files.
alias load_remote { load -rs foo.mrc load -rs bar.mrc load -rs baz.mrc }
Load a variables and a users file:
alias load_vars_and_users { load -ru users2.ini load -rv vars2.ini }
Compatibility
Added: mIRC v3.8
Added On: 11/25/95
Note: Individual switches were not taken into consideration.