|
Muddletupper Newbie
Joined: 21 Jan 2003 Posts: 2 Location: USA
|
Posted: Sun Jan 18, 2004 7:50 am
Single and Multi-line chats |
I get a lot of chatter while playing and I'm working on setting up multiple windows to have says, tells, channels, etc all go to their own places. The problem I'm running in to is that sometimes I get single-line chats and sometimes multiple. They come in a format as follows:
[Muddletupper] Hello there
and
[Muddletupper]
Hello there, how are you doing today. Hopefully everything is
going ok with you. Anything new?
Now, its easy to hangle single line messages. Its when I get multiple lines as in the second example I have a problem. So far I the best I manage to do is gather them with a #C+ command but then if I use my mud prompt to trigger #C- it doesn't terminate until after it passes the prompt info to the new window as well. I'm aiming to have a window JUST have the tells, not all this stray data like prompts in it. Attempts to use GAG haven't helped either, it still ends up sending the data to the new window.
Any ideas would be appreciated. I tried searching for ideas here but most are either things I've tried or I can't seem to find anything else that'd help. :(
I can muddle through some of the single line triggers but I usually use the trigger set up commands so my trigger mostly looks like this:
pattern: ^~[%a~]*
value:
#T+ TellChannel
#CAP 1 TellChannel
#C+ TellChannel
I used that pattern becuase I had a problem with the WHO command in the game triggering it as well since it used format [ 12 war hum ] and the [%a] limited it to a name rather than stat lines.
I'm using TellChannel as a folder only to turn on another trigger that attempts to run a #C-. It manages to pick up multiple lines but, as I stated above, it also captures the prompt no matter what I've done so far. Ideas? |
|
|
|
patryn Apprentice
Joined: 26 Sep 2001 Posts: 124
|
Posted: Sun Jan 18, 2004 9:07 am |
If the mud you play on allows you to specify how many columns you want it to send, then just change the column size to 999, or whatever the maximum is.
That way the mud will always send you tells in one really long line, and you can use the zmud word wrapper to then show these really long lines in multiple lines.
This way all your triggers etc wont need to be optimized for multiple lines, unless the line sent by the mud exceeds 999 columns (this is very rare) |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Jan 18, 2004 9:35 am |
The easiest solution is probably to add a #GAG for the prompt to each child window.
|
|
|
|
|
|
|
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
|
|