Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
xongus
Beginner


Joined: 01 May 2011
Posts: 12

PostPosted: Sun May 01, 2011 6:44 am   

New zmud -> cmud user: #GAG
 
I had previously been using #GAG to gag certain patterns both received from the mud and the commands sent to the mud. #GAG still works on patterns received from the mud, but it will not affect commands. I then realized there's a new trigger type that specifically does this from the trigger types. However, is there a way to have triggers affect both the Command Input and text sent from the mud?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Sun May 01, 2011 2:36 pm   
 
you can stop your commands from echoing at all within preferences, under scripting
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun May 01, 2011 5:08 pm   
 
No, there's no way to have pattern-based triggers work on text as well as command input. The two are now mutually exclusive.

If you want to not echo a subset of your commands, you could create a simple commandinput trigger to match on that list. The code would then first #NOINPUT to stop that typed-in command from being sent and then #SENDRAW the command (which doesn't print the command to the screen).
_________________
EDIT: I didn't like my old signature
Reply with quote
xongus
Beginner


Joined: 01 May 2011
Posts: 12

PostPosted: Mon May 02, 2011 5:23 am   
 
Gotcha, that'll work. Not as clean as I'd like it, but thats fine. Thanks.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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