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


Joined: 25 Oct 2003
Posts: 4
Location: USA

PostPosted: Mon Oct 27, 2003 6:02 am   

Settings - Child Window - Add triggers
 
How/where can I do this?
Reply with quote
IceChild
Magician


Joined: 11 Oct 2000
Posts: 419
Location: Post Falls, ID, USA

PostPosted: Mon Oct 27, 2003 9:15 am   
 
Child window triggers are controlled by their parent windows properties. So exactly what type of information are you trying to trigger in your child window? That information was most likely passed to the child window by the parent, so the parent should already have the information, and can process the data, then pass the result back to the child window if necessary.

Basically, a little more information in what you're looking for would be amazingly helpful.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Oct 27, 2003 12:48 pm   
 
Every window has its own triggers (and other settings). If you want a child window to have a trigger, you need to make that trigger in the child window.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Mon Oct 27, 2003 2:43 pm   
 
Select(click on) the child window, and while it has focus, click the settings button or triggers button. This will open a new settings editor for the child window where you can create/edit the settings for the child window.
Reply with quote
Kaliaa
Newbie


Joined: 25 Oct 2003
Posts: 4
Location: USA

PostPosted: Mon Oct 27, 2003 10:19 pm   
 
ty.. I know this stuff is trivial to those of you who have been working with these things for some time.

Actually what I'd like to do is timestamp tells and guild chat in a child window.

This trigger was previously posted by someone else:

#TR {~[Imp~](*)$} {#sub {~(%time( "hh:mm")~) ~[Imp~]{%1}}}

However, in my case the delimiter for the guild chat name is ( and ) as in (Minions). Since parens are used in the trigger anyway, how would one indicate that those parens are part of the pattern?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Oct 28, 2003 12:53 am   
 
The same way as [ and ].
#TR {~(Minions~)(*)$} {#sub {~(%time( "hh:mm")~) ~(Minions~){%1}}}

If this trigger is in the child window, it would be better to only substitute the part that's actually being changed.
#TR {~(Minions~)} {#SUB {%time( hh:nn) ~(Minions~)}}
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