|
Sinema Beginner
Joined: 14 Nov 2001 Posts: 27 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
Sinema Beginner
Joined: 14 Nov 2001 Posts: 27 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
|
|