Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Mon Jul 22, 2002 12:58 am   

Saving from capture window
 
I have a trigger set up to capture stuff into another window. Can I make an alias that will Take the text from the other windows, and save it into a text file?

Like if the other window is called equipment, I want to type saveother and it will save any text in the equipment window into a textfile called equipment.txt, in the zmud directory of course.

It seems possible I am just not sure how.

Evangelist
www.phidar.com
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Jul 22, 2002 1:01 am   
 
#TRIGGER {Your trigger} {#CAP equipment}

:equipment:#LOG equipment.txt

Focus on the equipment window, make a log file, and refocus to the main window.

Ton Diening
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Mon Jul 22, 2002 2:34 am   
 
That work for anythign earlier then 6.x?

Evangelist
www.phidar.com
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Jul 22, 2002 4:28 am   
 
I'm fairly sure that all three commands were in use in version 5.55, along with the :window: syntax, but I have absolutely no idea if that would be true for version 1.0. Nor do I have any idea when they were introduced if they weren't in the first version.

The quickest (and easiest) way to find out if something works with an older version of zMUD is to try it. You probably have a particular version (whichever one you're using) in mind anyway.

LightBulb
Senior Member
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Mon Jul 22, 2002 7:14 am   
 
I have version 6.31 registered and using it, primarily for my id trigger, but it will not work in 5.55. I made an alias called saveeq, that does
:equipment:
#LOG equipment.txt

all it does is log the main zmud window, it wont focus.

Evangelist
www.phidar.com
Reply with quote
bgunther
Novice


Joined: 20 Dec 2001
Posts: 39
Location: USA

PostPosted: Mon Jul 22, 2002 10:30 am   
 
According to the online 5.5x help files, there is a focus character, by default the colon (:).

If :equipment:#log equipment.txt doesn't work, I see 2 possibilities:
1. You have either disabled the focus character or changed it to something else in the preferences.

2. The focus syntax of :equipment: doesn't work the way it does in 6.xx

I would think that the first is most likely, so check your preferences. If the focus character is enabled and still :, then you might want to search through your help files for focus and see what syntax is expected.



Bob, aka Kayd on SWMud and a few others.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Jul 22, 2002 11:54 am   
 
Also, you should try:
:equipment:#LOG equipment.txt

and not:
:equipment:
#LOG equipment.txt

Kjata
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Mon Jul 22, 2002 11:50 pm   
 
It works now, thanks for the help. The focus character was ok, and i had tried :equipment: #LOG equipment.txt as well as with it on both lines....I had a space in between :equipment: and #LOG equipment.txt.....got rid of the space and it works fine. Thanks again for all the help.

Evangelist
www.phidar.com
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net