From WikiChip
Difference between revisions of "mirc/commands/load"
(Третий вариант названия объявления) |
m (Reverted edits by 95.135.62.128 (talk) to last revision by PatrolBot) |
||
Line 1: | Line 1: | ||
− | + | {{mirc title|/load Command}}{{mIRC menu}} | |
+ | 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 {{mIRC|/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. | ||
+ | <syntaxhighlight lang="mIRC">alias load_remote { | ||
+ | load -rs foo.mrc | ||
+ | load -rs bar.mrc | ||
+ | load -rs baz.mrc | ||
+ | }</syntaxhighlight> | ||
+ | |||
+ | Load a variables and a users file: | ||
+ | <syntaxhighlight lang="mIRC">alias load_vars_and_users { | ||
+ | load -ru users2.ini | ||
+ | load -rv vars2.ini | ||
+ | }</syntaxhighlight> | ||
+ | |||
+ | == Compatibility == | ||
+ | {{mIRC compatibility|3.8}} | ||
+ | |||
+ | == See also == | ||
+ | * [[List of commands - mIRC|List of commands]] | ||
+ | * [[List of identifiers - mIRC|List of identifiers]] | ||
+ | * {{mIRC|$script}} | ||
+ | * {{mIRC|$window}} | ||
+ | * {{mIRC|/filter}} | ||
+ | * {{mIRC|/loadbuf}} | ||
+ | * {{mIRC|/reload}} | ||
+ | * {{mIRC|/save}} | ||
+ | * {{mIRC|/savebuf}} | ||
+ | * {{mIRC|/unload}} | ||
+ | * {{mIRC|/window}} | ||
+ | {{mIRC command list}} | ||
+ | |||
+ | [[Category:mIRC commands|load command - mIRC]] |
Revision as of 00:22, 11 December 2016
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Template:mIRC menu 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: 25 Nov 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
- List of commands
- List of identifiers
- $script
- $window
- /filter
- /loadbuf
- /reload
- /save
- /savebuf
- /unload
- /window
mIRC commands list