mIRC Home    About    Download    Register    News    Help

Print Thread
#205042 10/10/08 01:52 PM
Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Hello,

I need help with saving all items from a dialog listbox into a txt file.

Thanks in advance,

Cheers,

Jay


Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Check out the -o switch for the /savebuf command.

Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Hello,

I tried the savebuf command, but im getting an invalid window error:

Code:
  var %file = $+($scriptdir,exports.txt)
savebuf -ao $did($dname,1) $+ %file 



Any ideas?

Joined: Oct 2007
Posts: 214
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Oct 2007
Posts: 214
Thank you for the advice,

I got it to work.

Code:
  savebuf  -eo $dname 1 " $+ %file $+ "

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
or savebuf -eo $dname 1 $qt(%file)


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }

Link Copied to Clipboard