|
palio Novice
Joined: 30 Jul 2003 Posts: 36
|
Posted: Sat Feb 28, 2004 11:01 pm
Capture |
I want to capture lines from a mud (chat channels) and send them to another window. This works well with #Cap Communication
However I find it only captures the 1st line of text on long gossips. I have tried using #cap -1 Communication and also #cap 4 communication but they dont seem to work. Or i am doing it wrong. Any one have any idea?
Trigger:
PAttern: *Answer*
Value: #Cap Communication |
|
|
|
musishun00 Wanderer
Joined: 16 Dec 2003 Posts: 77 Location: USA
|
Posted: Sat Feb 28, 2004 11:24 pm |
Could you post an example of a long chat line? I assume that your MUD has internal word wrapping? zMUD's word wrapping will #CAP everything on a line, but if your mud sends things to you in multiple lines, the #CAP might be an issue. In the meantime, you may try something like this (if you've got blank lines in between everything):
#TRIGGER {~*Answer~*} {#C+ Communication}
#TRIGGER {^$} {#C-}
See if that helps you out at all.
EDIT: Added the "^" (highlighted in red) just to make sure you're only stopping the #CAP on a blank line. |
|
|
|
palio Novice
Joined: 30 Jul 2003 Posts: 36
|
Posted: Thu Mar 04, 2004 4:49 am |
#TRIGGER {~*Answer~*} {#C+ Communication}
#TRIGGER {^$} {#C-}
Sorry to ask a stupid question here. but would that trigger every time a new line is sent? and does that slow down the client?
This is what is sent the mud wraps after the word in:
You =G= this is a test line to see how long I can type and actually capture in
my communication window. I think once it wraps there is no more capturing
This is what is captures in my cap window:
You =G= this is a test line to see how long I can type and actually capture in |
|
|
|
albatross Newbie
Joined: 04 Mar 2004 Posts: 4 Location: USA
|
Posted: Thu Mar 04, 2004 7:14 pm |
Another option is to set your mud's wrap setting to 0 (unlimited line length), and set zMud's wrap setting to match what the mud's line length had been. I don't know what mud you play, and there's no guarantee that you can set the wrap on your mud, but if you can it will fix your problem. As an added bonus, it keeps other people from abusing your trigs if they send gossips that wrap around to the next line.
|
|
|
|
palio Novice
Joined: 30 Jul 2003 Posts: 36
|
Posted: Tue Mar 09, 2004 4:47 am |
#TRIGGER {~*Answer~*} {#C+ Communication}
#TRIGGER {^$} {#C-}
I tried this
It kept spamming my screen with Capture text off and Capture text on. and it did not send any text to the capture window. The mud I play does not have a way to remove the wrapping from it |
|
|
|
|
|