|
yaluna Newbie
Joined: 19 Dec 2003 Posts: 3
|
Posted: Fri Dec 19, 2003 8:12 pm
Simple #capture trigger |
Hi all,
I have a really simple trigger I need help with (I am a novice with triggers). I want to #capture the tells I send and recieve into another window, which has been working, however it has only been capturing the first line. I have tried adding in -1 and that doesn't work. This is what it looks like:
You tell %1 - #cap tells, #gag
1% tells you, %2 - #cap tells, #gag, #beep
-------------
I have searched through the forums a bit but the only messages I could find involved much more complicated things that I couldn't understand :/ Any help is appreciated. |
|
|
|
Toetag Magician
Joined: 10 Oct 2000 Posts: 356 Location: USA
|
Posted: Fri Dec 19, 2003 9:02 pm |
(%w) tells you (*)$(*)$
that's only good for double line. You'll run into more problems in that it will also match single lined tells as well. I started looking at this, but never got around to finish looking into it. if i have time today, i'll try to get it working again.
another thing to check, look in the help files for 'Pattern Matching'
btw, to send to another window look at the #WINDOW command.
#WIN <window name> %1 tells you %2 |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Dec 30, 2003 7:00 am |
Paste a couple of examples of multiple line tells from the mud.
That way maybe we can see a way to capture all lines till we see a ' or a " or something similar. |
|
|
|
|
|
|
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
|
|