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
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 3:26 am   

Clan Talk Windows
 
Hi..
I am trying to get a seperate Clan Talk window opened up on my second monitor...thereby displaying what my clan members are saying and what I am saying to them, inaddition levels, deaths, etc.
I am using triggers like this:

#TRIGGER {~[1~] clan member heard you say} {#CAPTURE Clan} #GAG
#TRIGGER {~[(%d)~] clan members heard you say} {#CAPTURE Clan} #GAG
#TRIGGER {~[CLAN~]} {#CAPTURE Clan} #GAG

However the only thing that appears in the new window when it opens is:

[1] clan member heard you say {#CAPTURE Clan}
[(%d)] clan members heard you say {#CAPTURE Clan}
[CLAN]

and not what the people are actually saying to me or me to them.
Does anyone have any suggestions?

Thanks
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Nov 06, 2008 4:28 am   
 
Show us the lines the MUD is sending that you want to capture.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 6:38 am   
 
12345


Last edited by bilgeta on Thu Nov 06, 2008 6:38 am; edited 1 time in total
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 6:38 am   
 
[CLAN] (Whatever the clan member is saying)
[1] Clan Member heard you say, (whatever I say)
[2] Clan members heard you say, (whatever I say)
Reply with quote
Rappy
Wanderer


Joined: 15 Jul 2005
Posts: 96

PostPosted: Thu Nov 06, 2008 7:22 am   
 
Other than the #GAG being outside the trigger brackets, I see nothing wrong with the triggers.

-Rappy
_________________
Windows 11 Pro,
cMUD 3.34
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 7:39 am   
 
The Window opens fine, It is named CLAN as it should be, but no Clan actual text is displayed.
Is there a setting in the triggers I forgot to set?
Shouldn't the entire line after [CLAN] or [1] Clan members heard you say be displayed?

Thanks
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Thu Nov 06, 2008 8:45 am   Re: Clan Talk Windows
 
Quote:
#TRIGGER {~[1~] clan member heard you say} {#CAPTURE Clan} #GAG
#TRIGGER {~[(%d)~] clan members heard you say} {#CAPTURE Clan} #GAG
#TRIGGER {~[CLAN~]} {#CAPTURE Clan} #GAG

Do you have, or did this create, a class named '#GAG'?

Do you have an alias assigned to 'clan'? Looks to me like either an alias/oninput or multiple triggers with similar patterns is causing this.
The weirdest part about this is the colored portion of your output.
Quote:
[1] clan member heard you say {#CAPTURE Clan}
[(%d)] clan members heard you say {#CAPTURE Clan}
[CLAN]


What happens if you delete those triggers and copy these into the command line?
Code:
#TRIGGER {^~[%d~] clan %w heard you say, } {#CAPTURE Clan;#GAG}
#TRIGGER {^~[CLAN~] } {#CAPTURE Clan;#GAG}
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 10:27 am   
 
I copied the text into Notepad and imported it into zmud...
It creates the two triggers suggested but the same result occurs...
when the window opens up it only shows the trigger text and not what the clan member or myself have typed...
What else am I missing? the trigger works, but I need to be able to see what it is that a member or myself is saying in the second window.

Thanks
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 10:27 am   
 
Why would the trigger send the text of the trigger itself to a new window and not the captured text?
it seems to me that the text is not truly being captured? What causes this?

Thanks


Last edited by bilgeta on Thu Nov 06, 2008 10:32 am; edited 1 time in total
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 10:27 am   
 
There was an Alias...I deleted it and got the same result still.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Thu Nov 06, 2008 8:58 pm   
 
When you say (whatever I say), is the information displayed in those parentheses or in quotes or does it have any special formatting used? An example of the exact output could help track this down.
_________________
CMUDPro 3.22
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 9:05 pm   
 
This is the output to the new window I expect to see...

[4] clan members heard you say, '<BIL> - ouch'
[CLAN] Jadess: '<<*SwEeT~N~NeRdY*>> I did lol'

Instead I see...

[4] clan members heard you say,
[CLAN]

and that is all the text displayed on the new window... Hence the actual clan text is missing... Why is ZMUD not capturing the clan text but instead sending the trigger text to the new window?

Thanks
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Thu Nov 06, 2008 9:09 pm   
 
by the way the <BIL> and the <<*SwEeT~N~NeRdY*>> are tags we use on Clan Talk for shifts etc... and are part of the clan text I am expecting to see... or example I have an alias for Clan Talk where I type CTT instead or CT which then initiates my Tag before my text... I am sure you all already know and do similar functions...but just in case
Besides it does not work either way with CT or CTT...

Thanks
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Thu Nov 06, 2008 10:51 pm   
 
It's been a while since I worked with ZMUD, but try adusting your trigger patterns to include the information in the quotes. Adjust the previously suggested triggers like this:

Code:
#TRIGGER {{^~[%d~] clan %w heard you say, '*'} {#CAPTURE Clan;#GAG}
#TRIGGER {^~[CLAN~] *:'*'} {#CAPTURE Clan;#GAG}
_________________
CMUDPro 3.22
Reply with quote
bilgeta
Beginner


Joined: 06 Nov 2008
Posts: 10
Location: Hawaii

PostPosted: Sat Nov 08, 2008 10:05 pm   
 
Windows is a funny entity... I uninstalled ZMUD and then Re-installed it, imported all of my alias and triggers etc back into my profile and now everything including the windows for Clan Talk are working fine.
Thanks for all of the support and replies... Not sure why this was an issue and I am sure I will never know now either.

But thanks...
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