|
Xerakon Apprentice
Joined: 10 May 2011 Posts: 111
|
Posted: Wed Apr 17, 2013 10:43 pm
Multi-line capture |
Hello!
Okay, I've got an issue with a capture script pushing lines to another window, due to mud-set line length.
Here's the code I'm working with:
Code: |
<trigger priority="6340" id="640">
<pattern>(*) ~ (*)</pattern>
<value>// Sends capture information to the History window.
#CAPTURE History</value>
</trigger>
|
Here's an example line needing to be captured:
Code: |
Xaek <hm> Anyone got a ccloak or can get one?
|
The MUD auto-wraps lines at 80 characters, and I'm having trouble capturing the entire statement. It will only grab the first line before the mud wraps it. Is there any easy way to capture the rest?
Thanks! |
|
|
|
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Fri Apr 19, 2013 11:21 pm Re: Multi-line capture |
Xerakon wrote: |
Hello!
Okay, I've got an issue with a capture script pushing lines to another window, due to mud-set line length.
Here's the code I'm working with:
Code: |
<trigger priority="6340" id="640">
<pattern>(*) ~ (*)</pattern>
<value>// Sends capture information to the History window.
#CAPTURE History</value>
</trigger>
|
Here's an example line needing to be captured:
Code: |
Xaek <hm> Anyone got a ccloak or can get one?
|
The MUD auto-wraps lines at 80 characters, and I'm having trouble capturing the entire statement. It will only grab the first line before the mud wraps it. Is there any easy way to capture the rest?
Thanks! |
When doing multiline captures, more context is helpful. Do you have some broken and unbroken examples?
In particular, what really tells you that you're done? Is it one or two lines and you know it's two if the first one doesn't end in a period? Is it one or more lines that doesn't end until the next prompt? Something else? |
|
|
|
|
|
|
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
|
|