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
arcyion
Newbie


Joined: 14 Nov 2004
Posts: 5

PostPosted: Sun Nov 14, 2004 12:12 pm   

Docked Status Window: How to Display tells, guild lines,etc?
 
Trying to figure out how to display tells, kingdom lines, guild lines, private whispers etc. seperate from the main mud text window.
I created a status window just for that purpose but so far have yet to figure out how to utilize it.

I was unable to find any help files on this on the zugg page.

Arcyion Shocked
Reply with quote
mortie
Wanderer


Joined: 26 Sep 2002
Posts: 73
Location: United Kingdom

PostPosted: Sun Nov 14, 2004 1:06 pm   
 
You want to use the #CAPTURE command.

e.g

#TRIGGER {(*) tells you ~'(*)~'} {#CAP Tells}

It will send the tell to a window called Tells. If you want to gag the output of the tell from your main window so it only appears in the tell window do:


#TRIGGER {(*) tells you ~'(*)~'} {#CAP Tells;#GAG}


Also have a read up on #WINDOW command.
Reply with quote
DustyShouri
Novice


Joined: 29 Oct 2004
Posts: 34

PostPosted: Sun Nov 14, 2004 1:17 pm   
 
What I've wondered is how to capture tells or channels that span more then one line?

Mister tells you, "blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Reply with quote
arcyion
Newbie


Joined: 14 Nov 2004
Posts: 5

PostPosted: Sun Nov 14, 2004 1:26 pm   
 
Sweet, so if I wanted to send it to my status window I created already, I would change {#CAP Status Window}

I also would like to do the above question in the same status window, mud lines etc. we have mid lines, hm lines, elite lines etc would be nice to get all those lines seperate from the main text.

Arcyion
Reply with quote
arcyion
Newbie


Joined: 14 Nov 2004
Posts: 5

PostPosted: Sun Nov 14, 2004 1:43 pm   
 
that trigger didn't seem to work, I did find out however to display text in that window, I have to type #STW + blah blah text etc.

so maybe it has to be something like :

#TRIGGER {(*) replies ~'(*)~'} {#CAP #STW + ;#GAG} something like that maybe?

Arcyion
Reply with quote
mortie
Wanderer


Joined: 26 Sep 2002
Posts: 73
Location: United Kingdom

PostPosted: Sun Nov 14, 2004 2:49 pm   
 
I personally wouldnt use the Status Window for what you are trying to do. The status window is similar to the status bar. You tend to use it for updating values like showing your hp mana etc.

For recording things like tells, clan chat, whispers etc you would use a window similar to your main window.

If you did

#TRIGGER {(*) replies ~'(*)~'} {#CAP Tell ;#GAG} - this will capture the reply to a window called Tell. If its not already there it will create it for you.

If you want to use your status window then you have to do something like this:-


#TRIGGER {(*) replies ~'(*)~'} {#STW + %1 replies %2;#GAG}
Reply with quote
arcyion
Newbie


Joined: 14 Nov 2004
Posts: 5

PostPosted: Tue Nov 16, 2004 1:08 am   
 
nope that doesn't seem to work either :( I'm getting frusterated and loosing hope.

I came up with this one and the pattern matches but it doesn't seem to work either. can anyone figure out the probelm?

#TRIGGER { replies: } {#STW + {%ansi( bold, green)-%ansi( white)?%ansi( bold, green)-> %1: %ansi( white)%2};#VAR LASTTELL %1;#VAR LASTTELLTIME %time( "hh:nns")}

this one doesn't produce any results when I get a reply back from anyone.

Arcyion
Reply with quote
mortie
Wanderer


Joined: 26 Sep 2002
Posts: 73
Location: United Kingdom

PostPosted: Tue Nov 16, 2004 10:27 am   
 
You need to expand on the pattern matching of your Trigger.

You are trying to reference %1 and %2 but where are you trying to get this from?

The parts that you want to capture for referencing need to be in paranthesis ( ).

Whats the exact syntax of the replies message?
Reply with quote
arcyion
Newbie


Joined: 14 Nov 2004
Posts: 5

PostPosted: Tue Nov 16, 2004 10:45 pm   
 
Here is a syntax of a reply from a friend

Setzer replies: ok
Setzer replies: :P

Arcyion
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Tue Nov 16, 2004 11:37 pm   
 
#TRIGGER {(%w) replies: (*)} {#STW + {%ansi( bold, green)-%ansi( white)?%ansi( bold, green)-> %1: %ansi( white)%-2};#VAR LASTTELL %1;#VAR LASTTELLTIME %time( "hh:nns")}

I think....
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Wed Nov 17, 2004 10:31 pm   
 
What I posted should display:

Setzer: ok
Setzer: :P

I think
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
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