|
Fallen.Anvil Novice
Joined: 12 Jul 2012 Posts: 47
|
Posted: 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. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: 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.
|
|
|
|
Fallen.Anvil Novice
Joined: 12 Jul 2012 Posts: 47
|
Posted: 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 |
|
|
|
|
|