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

m (Bot: Fixing links)
(Switches)
(12 intermediate revisions by 3 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 -sfgao [lines] <window | dialog id> <filename>
+
/savebuf -sfgaolpw [lines] <window | dialog id> <filename>
 
 
 
 
  
 
== Switches ==
 
== Switches ==
* '''-a''' - Appends the lines to the output window/file
+
* '''-a''' - Appends the lines to the output file
 
* '''-s''' - Saves the status window buffer
 
* '''-s''' - Saves the status window buffer
 
* '''-f''' - Saves the finger window buffer (removed feature)
 
* '''-f''' - Saves the finger window buffer (removed feature)
 
* '''-g''' - ??
 
* '''-g''' - ??
 
* '''-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
 +
* '''-w''' - ??
  
 
== Parameters ==
 
== Parameters ==
Line 23: Line 26:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v6.1
+
{{mIRC compatibility|6.1}}
 
 
Added On: 29/08/2003
 
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== See also ==
 
== See also ==
Line 35: Line 34:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|savebuf command - mIRC]]

Revision as of 17:51, 12 July 2020

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
  • -f - Saves the finger window buffer (removed feature)
  • -g - ??
  • -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
  • -w - ??

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 v6.1
Added on: 29 Aug 2003
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