From WikiChip
Difference between revisions of "mirc/commands/savebuf"
m (Bot: Fixing compatibility) |
m (→Synopsis: Same as above.) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/savebuf Command}} | ||
The '''/savebuf command''' saves the specified number of lines from the end of the buffer of the specified window into the specified filename. | The '''/savebuf command''' saves the specified number of lines from the end of the buffer of the specified window into the specified filename. | ||
== Synopsis == | == Synopsis == | ||
− | /savebuf - | + | /savebuf -sgaolp [lines] <window | dialog id> <filename> |
− | |||
− | |||
== Switches == | == Switches == | ||
− | * '''-a''' - Appends the lines to the output | + | * '''-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) |
− | |||
* '''-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 | ||
+ | * '''-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 == | == Parameters == | ||
Line 23: | Line 24: | ||
== Compatibility == | == Compatibility == | ||
− | {{mIRC compatibility| | + | {{mIRC compatibility|5.0}} |
== See also == | == See also == | ||
Line 31: | Line 32: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|savebuf command - mIRC]] |
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