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

(Третий вариант названия объявления)
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

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

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy