Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
fingorn
Newbie


Joined: 27 Aug 2006
Posts: 1

PostPosted: Sun Aug 27, 2006 11:49 am   

Achaea Capture Window problems
 
Okay, as per this thread, I'm trying to work out a problem with a window set up to capture all spoken text in Achaea:

http://forums.zuggsoft.com/phpbb/viewtopic.php?t=16842&highlight=achaea+window

Unlike the OP of that thread, I can take the bad alignment as I'd rather just set the colors in MUD prefs. and keep things (somewhat) simple.

My problem is that because of the wide variety of the way characters actually speak, actually spoken words don't usually make it to my Chats window. I can elborate if someone who doesn't play Achaea needs it, but there are waaaay too many ways for someone to say something to build a trigger for each.

My question: is it possible to build a trigger which responds to color? All spoken text can be made a unique color not used for anything else in the game.

Here's my current code (which works except for the 'say' stuff'):

Code:

#CLASS {Captures}
:Chats:#SUB {^~(Eleusis~)} {"E"}
:Chats:#SUB {^~(Sylvans~)} {"S"}
:Chats:#SUB {^~(Viridi~)} {"V"}
:Chats:#SUB {^~(House Ar'Thela~)} {"HA"}
:Chats:#SUB {^~(The Bandersnatchi~)} {"B"}
:Chats:#SUB {^~(The Distara Legacy~)} {"DL"}
:Chats:#SUB {%stells you,} {":"}
:Chats:#SUB {%ssays~,%s} {"-"}
:Chats:#SUB {%say~,%s} {"-"}

 
#TR {^~(Eleusis~):} {#T+ CapturesCode}
#TR {^~(Sylvans~):} {#T+ CapturesCode}
#TR {^~(Viridi~):} {#T+ CapturesCode}
#TR {^~(House Ar'Thela~):} {#T+ CapturesCode}
#TR {^~(The Bandersnatchi~):} {#T+ CapturesCode}
#TR {^~(The Distara Legacy~):} {#T+ CapturesCode}
#TR {^%w tells you,} {#T+ CapturesCode}
#TR {^You tell %w} {#T+ CapturesCode}
#TR {^%w says~,} {#T+ CapturesCode}
#TR {^You say~,} {#T+ CapturesCode}
#TR {^(%d)h, (%d)m (*)(%w)-} {#T- CapturesCode}
#CLASS 0


#CLASS {CapturesCode}
#TRIGGER {*} {#CAP Chats;#GAG}
#CLASS 0
[/code]
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net