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

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