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


Joined: 25 Nov 2005
Posts: 13

PostPosted: Tue Jan 17, 2006 11:09 pm   

'Pose' timer, #VARs with spaces, status bar color Q's
 
First

I sometimes play on a MUSH and would like a way to judge the time it takes for me to respond to a particular person and perhaps keep track of how long it takes for them to respond back. I have a few ideas, one that involves a third character to receive pages just prior to the new pose being sent and running a idle time check using the MUSH system code or ‘hiding’ a trigger scheme in the pose formatting with black color codes and using %time and a math function. I’m wondering of one of you Guru’s know an easier and more effective way and would appreciate any help. I only need this to work with someone else running Zmud and using the same #Trigger, if that helps.


Also

Becky pages:

#T {(%w) pages:} {#VAR PAGE %1}

Used to work fine until the MUX started to allow first and last and even middle names..

Becky Sue Pages:
Becky and Sue pages:
Becky / Sue pages:

#T {(*) pages:} {#VAR PAGE %1}

Doesn’t seem to work and I can’t figure out why.


3 of 3
Lastly.

Is there a way to color information displayed on the status bar?

Any and all help is appreciated as always,

Silanus
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Jan 18, 2006 2:45 am   
 
1
For timing use:
%ctime the number of seconds you have been connected to the MUD
Probably the easiest predefined variable to count seconds.

Need to use brackets () or "" around that variable as it contains spaces:

#TRIGGER {^(*) pages:} {#VAR PAGE {%1}}

#ST %ansi(Red,bold)Current Page @PAGE%ansi(default)
Reply with quote
Silanus
Beginner


Joined: 25 Nov 2005
Posts: 13

PostPosted: Thu Jan 19, 2006 10:30 am   Follow up question..
 
Thanks for the answers but I have a follow up..

I have a good idea how to rig the 'pose' timer and the %ansi tip solved my status bar question.. but

#TR {(*) pages:} {#VAR PAGE {%1}}

Solves one type of multi name page problem as most pages are sent using..

> Mars G pages: test test test

However there is another sort:

> From afar, Mars G test test test

Using

#TR {From afar, (*)} {#VAR PAGE {%1}}

Will capture both names and the whole message as the #Var

I'm at a complete loss as to how to proceed with this as multiple words can be part of the message or a second name.

Any Further help would be appreciated.

Thanks again,

Silanus
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Thu Jan 19, 2006 1:42 pm   
 
Use a trigger patterns like:

^~> (*) pages:
^~> From afar, (*)

Anchoring the start of the line with ^ and taking into account the special character >
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