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

m (Compatibility: /savebuf was added in 5.0: 48.Added /loadbuf and /savebuf commands.)
m (Switches: /savebuf does not have a -f or -w switch.)
Line 8: Line 8:
 
* '''-a''' - Appends the lines to the output file
 
* '''-a''' - Appends the lines to the output file
 
* '''-s''' - Saves the status window buffer
 
* '''-s''' - Saves the status window buffer
* '''-f''' - ??
 
 
* '''-g''' - Saves the finger window buffer (removed feature)
 
* '''-g''' - Saves the finger window buffer (removed feature)
 
* '''-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
 
* '''-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
Line 14: Line 13:
 
* '''-l''' - Save the content of the side listbox of the window if there is one (can be used to save the nicklist of a channel quickly)
 
* '''-l''' - Save the content of the side listbox of the window if there is one (can be used to save the nicklist of a channel quickly)
 
* '''-n''' - Treat the wrapped lines as a single line
 
* '''-n''' - Treat the wrapped lines as a single line
* '''-w''' - ??
 
  
 
== Parameters ==
 
== Parameters ==

Revision as of 05:58, 16 August 2021

The /savebuf command saves the specified number of lines from the end of the buffer of the specified window into the specified filename.

Synopsis

/savebuf -sfgaolpw [lines] <window | dialog id> <filename>

Switches

  • -a - Appends the lines to the output file
  • -s - Saves the status window buffer
  • -g - Saves the finger window buffer (removed feature)
  • -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
  • -p - Strip control code from saved lines
  • -l - Save the content of the side listbox of the window if there is one (can be used to save the nicklist of a channel quickly)
  • -n - Treat the wrapped lines as a single line

Parameters

  • [lines] - If specified, the number of lines to add from the end the file or a range of lines N-N2, 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

None

Compatibility

Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also

[Expand]
v · d · e mIRC commands list