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
Fallen.Anvil
Novice


Joined: 12 Jul 2012
Posts: 47

PostPosted: Mon Jul 16, 2012 9:15 am   

#gag? #Sub?
 
Hello,

I am currently using the string

Pattern:
You paged (*) with (*)
#WIN Bob {%ansi(cyan)%time(hh:nn:ss) *%ansi(default) You paged %1 with: %2}

To time stamp the event and place it in my main window.

Unfortunately the original command is showing up on my screen as well

You paged Bob with blah

Is there a way to only display the time stamp version and not the mud command

Taking a guess I'd say the #gag or #substitute commands but aren't sure where to place them for testing purchases.

Thank you.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Mon Jul 16, 2012 5:24 pm   
 
#gag would remove a line from the screen, and you would put it in the trigger along with your #window command. If I understand correctly, though, "Bob" is your main window, where the original line is appearing? If that's the case, it's redundant to remove a line from the window, then write it back. One #substitute command is all you need, that will change the text on an existing line. Replacing "#WIN Bob" with "#SUB" in your code should be all you need.
Reply with quote
Fallen.Anvil
Novice


Joined: 12 Jul 2012
Posts: 47

PostPosted: Mon Jul 16, 2012 6:37 pm   
 
Relearning everything is a real challenge. Some of these alias/triggers I'm changing were written 10 years ago.

Thank you for your help
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