From WikiChip
Difference between revisions of "mirc/commands/savebuf"
m (→Compatibility: /savebuf was added in 5.0: 48.Added /loadbuf and /savebuf commands.) |
m (→Synopsis: Same as above.) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | /savebuf - | + | /savebuf -sgaolp [lines] <window | dialog id> <filename> |
== Switches == | == Switches == | ||
* '''-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 | ||
− | |||
* '''-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 | ||
− | |||
== Parameters == | == Parameters == |
Latest revision as of 04:59, 16 August 2021
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /savebuf command saves the specified number of lines from the end of the buffer of the specified window into the specified filename.
Synopsis[edit]
/savebuf -sgaolp [lines] <window | dialog id> <filename>
Switches[edit]
- -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[edit]
- [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[edit]
None
Compatibility[edit]
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[edit]
mIRC commands list