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
Sinema
Beginner


Joined: 14 Nov 2001
Posts: 27
Location: USA

PostPosted: Sat Apr 27, 2002 11:02 pm   

Tell Window Question
 
Greetings all,

I've been attempting to figure out how to get Rainchild's TellWindow Script to work but was unable to ..

Curious if anyone could let me in on where I can find a Tell Window Script that'll work for me.

I just want something that will snag the rune-bug text and copy it to another window..

I play on Avalon-rpg.com and here is what the text looks like

Someone tells you, "Testing".
Your rune-bug picks up words; Someone tells Your Name Here, "Testing".

I would actually like it to pick up both but the Bug Rune is the most important as it unmasks the person if they are Invis or Cloaked or something.

Thanks for any help and I use zMUD 6.29a



~
Regards,

Sinema
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Apr 28, 2002 4:36 am   
 
The simplest is probably:
#TR {tells you} {#CAP tell}
#TR {Your rune-bug picks up words} {#CAP tell}



LightBulb
All scripts untested unless otherwise noted
Reply with quote
Sinema
Beginner


Joined: 14 Nov 2001
Posts: 27
Location: USA

PostPosted: Sun Apr 28, 2002 11:33 pm   
 
I appreciate the reply..

It works great *grin*

What about mulit line replies?

Right now it catches the very first line..

I was trying to figure out what to do from this snippet

#TRIGGER {^* {@comms}*: "%*"$} {#CAP 1 Tells} {Windoze} 517
#TRIGGER {^* {@comms}*:$ "%*"$} {#CAP 2 Tells} {Windoze} 517
#TRIGGER {^* {@comms}*:$ "%*$ %*"$} {#CAP 3 Tells} {Windoze} 517
#TRIGGER {^* {@comms}*:$ "%*$ %*$ %*"$} {#CAP 4 Tells} {Windoze} 517
#TRIGGER {^* {@comms}*:$ "%*$ %*$ %*$ %*"$} {#CAP 5 Tells} {Windoze} 517
#TRIGGER {^* {@comms}*:$ "%*$ %*$ %*$ %*$ %*"$} {#CAP 6 Tells} {Windoze} 517

Which is apart of Rain's tell window script...



~
Regards,

Sinema
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Apr 29, 2002 1:04 am   
 
If you get enough multi-line tells to make it worth doing, you can replace #CAP with #C+. You'll then have to identify a workable trigger phrase for the #C- command.

Alternatively, you can use something along the lines of Rainchild's script: decide how many lines is the max you will ever need and write one trigger for each possible number of lines.

LightBulb
All scripts untested unless otherwise noted
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