mIRC Home    About    Download    Register    News    Help

Print Thread
#95363 24/08/04 01:12 PM
Joined: Jun 2004
Posts: 33
X
Xidus Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jun 2004
Posts: 33
how can i make a command that does /svaebuf everytime a new line is added to the @window ?

#95364 24/08/04 03:47 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Im guessing that if you have an /aline or /echo to the window you could do something like:

/echo window stuff | /savebuf $line($active,0) *windowname* file-to-save-to.ext

or

/aline @window stuff | /savebuf $line($active,0) @window file-to-save-to.ext


Does that help at all?


Those who fail history are doomed to repeat it
#95365 25/08/04 01:45 AM
Joined: Aug 2004
Posts: 42
T
Ameglian cow
Offline
Ameglian cow
T
Joined: Aug 2004
Posts: 42
That sounds like overkill to me!
Whenever you aline @window, why dont you just:
/write blah.log "new line in the window"

The bigger your @window gets, /savebuf will increase your load.
Adding 1 line to the file each time is better than saving say, 10000 lines each time a line is added.

#95366 25/08/04 02:22 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Yes I know but it was the only thing I could come up with while being sleep deprived. my other idea long forgotten couldnt manifest itself properly.


Those who fail history are doomed to repeat it

Link Copied to Clipboard