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


Joined: 27 Aug 2007
Posts: 25

PostPosted: Tue Nov 06, 2007 8:13 pm   

Trigger
 
How do I make a trigger using the commandline? I cannot seem to get it to work with the windows interface. How do I get it to work that way too. I want to writhe in response to this

A cloud of gnats flies about in stunning patterns, transfixing your attention.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 06, 2007 8:21 pm   
 
Use the #trigger command. The syntax is:

#trigger {pattern} {commands}

so for you example it would be:

#trigger {A cloud of gnats flies about in stunning patterns, transfixing your attention.} {do whatever commands here}

Take a look at the Introduction to Triggers section of the manual for more info.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Tue Nov 06, 2007 8:47 pm   
 
If you describe the troubles you're having with the GUI, we might be able to help you with that, too.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Thu Nov 08, 2007 5:22 am   
 
yeah, i do that all the time.

#TRIG {A cloud of gnats flies about in stunning patterns, transfixing your attention.} {This is what goes off.}

I think there's other options too, with CMUD. Someone who actually uses these methods can explain them more in depth, but I believe you can set trigger class, priority and the other stuff zugg linked to.

#TRIG {A cloud of gnats flies about in stunning patterns, transfixing your attention.} {This is what goes off.} ClassName "priority=3176"
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Thu Nov 08, 2007 11:01 am   
 
Yes, you can. The help file explains all the different options that triggers have (they're all just equivalents of what's on the GUI, though)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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