From WikiChip
mirc/commands/loadbuf
< mirc‎ | commands
Revision as of 18:34, 4 December 2013 by David (talk | contribs) (Created page with "The '''/loadbuf command''' loads the specified number of lines from the end of the file of filename into the specified window. == Synopsis == /loadbuf [lines] [-apirsglecNno...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /loadbuf command loads the specified number of lines from the end of the file of filename into the specified window.

Synopsis

/loadbuf [lines] [-apirsglecNnomt<topic>] <window | dialog id> <filename>

Switches

  • -a - adds the lines into the active window
  • -p - forces lines of text to wrap when added to the window
  • -i - makes sure that lines are indented if they wrap
  • -r - clears the contents of the output window before adding lines to it
  • -s - adds the lines into the status window
  • -l - adds the lines into the side-listbox in a custom window
  • -e - evaluates variables and identifiers in the line being read
  • -cN - specifies the default color for lines, N is an index color
  • -n - if logging is enabled for that window, logs the loaded lines
  • -m - used with -n, indicates that the text is already timestamped
  • -o - indicates that you have specified the [dialog id] parameters instead of a window name in order to load lines into a custom dialog control
  • -t - loads the lines under the [topic] section in a file

Parameters

  • [lines] - if specified, the number of lines to add from the end the file, otherwise the whole content of the file is added
  • <window | dialog id> - the window's name or the dialog's name and an id to adds the lines to
  • <filename> - the filename you want to add lines from

Example

Compatibility

Added:

Added On:

Note: Individual switches were not taken into consideration.

See also