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
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Fri Jan 11, 2008 7:41 am   

How to turn off Trigger on Commands?
 
CMUD is triggering on commands (normal pattern triggers, and not Command input triggers) just as if the zMUD preference "Trigger on Commands" was set. But that option is no longer around. This is a session I converted from zMUD, though that option wasn't set there either.

Any idea how to unset it?
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Jan 11, 2008 7:50 am   
 
Are you saying that you have #ONINPUT triggers from zMUD that you want to keep, but CMUD thinks it's a pattern? If so, just change the type to say "Command Input" instead of "Pattern" in the box under the "Script Text" tab.

Charneus
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Fri Jan 11, 2008 2:25 pm   
 
No, I have normal Pattern triggers that CMUD is triggering on as if they were ONINPUT/Command Input triggers. In zMUD, there's a Trigger on Command preference that allows for this.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Jan 11, 2008 2:47 pm   
 
Look at the %pref help. There were a lot of bad options like this in zMud that got removed from the preference pages in CMud.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Fri Jan 11, 2008 4:33 pm   
 
Yup, #CALL %pref(TriggerCom, 0) did the trick. Thanks, I thought I remembered there was a way, just didn't remember what.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Fri Jan 11, 2008 6:36 pm   
 
Hi Zhiroc, I was noticing a difference is just this when switching from Zmud to Cmud. I had to change some of my scripts because it was or wasn't detecting the same way in Zmud. Could you explain a little more of what this would affect?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri Jan 11, 2008 7:12 pm   
 
Any trigger will execute on entered commands as if it were an oninput trigger if this option's enabled. If it's disabled, then pattern triggers will only run on text from the MUD.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Fri Jan 11, 2008 8:15 pm   
 
Not entirely quite like an #ONINPUT trigger: you can't #GAG it (in zMUD), or #NOINPUT it (in CMUD). Nor can you #SUB on it to change it. You can react to it like any other text, as if it came from the MUD.
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