Look capture?

Scripts and support for your favorite MUD client.
azzixxenae
Sojourner
Posts: 154
Joined: Sat Jan 27, 2001 6:01 am
Location: Warner Robins GA

Look capture?

Postby azzixxenae » Mon Jul 30, 2001 6:58 pm

I see that you can capture tells/gsays/etc to another window. Can you do the same with the look command?

So for example, during the big spammy fights, i can hit my look macro and instead of going cross-eyed from the mass of spam that scrolls the screen can just look at this one window to tell who is on what, where is on third, when is bashed/not bashed, etc.

Thanks.
Xebes
Sojourner
Posts: 167
Joined: Fri Jul 13, 2001 5:01 am
Location: Indiana, USA

Postby Xebes » Mon Jul 30, 2001 7:37 pm

Ok, I'm presuming here that we're capturing the room contents only. So here goes...

(disclaimer: I haven't used zmud for a couple years, this probably won't be perfect, but should give you the right idea.)

Trigger #1: Starts the capture.

#TRIGGER {Room size: (*) ~(L :(%d) ft W :(%d) ft H :(%d) ft~)} {#CAP look;#GAG;#T- CapLook1;#T+ CapLook2} CapLook1

Trigger #2: Snarfs everything until the next prompt and displays in capture window.

#TRIGGER {(*)} { #if (%1 =~ "< (%d)h/(%d)H (%d)v/(%d)V >") {#T- CapLook2;} {#CAP look; #GAG} } CapLook2

Alias #1: Activates the first-stage trigger, performs look command.

#ALIAS capturelook {#T+ CapLook1;look}

------------------
-<(#)>- Xebes makes your heart start to race REAL FAST!

[This message has been edited by Xebes (edited 07-30-2001).]

[This message has been edited by Xebes (edited 07-30-2001).]

[This message has been edited by Xebes (edited 07-30-2001).]
Xyd
Sojourner
Posts: 177
Joined: Thu Apr 26, 2001 5:01 am
Location: Naperville, IL US
Contact:

Postby Xyd » Mon Jul 30, 2001 7:50 pm

You could also use this to only capture the lines that indicate someone fighting (captures to the "look" window):

#TR {fighting} {#CAP look}

I would probably enable/disable this in my battle-on/battle-off class.

.xyd
azzixxenae
Sojourner
Posts: 154
Joined: Sat Jan 27, 2001 6:01 am
Location: Warner Robins GA

Postby azzixxenae » Tue Jul 31, 2001 2:05 pm

wow. thanks peeps!

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 3 guests