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: Mon Oct 15, 2007 4:03 am   

Trigger help
 
Hi. I cannot do this in the command line, #TRIGGER (You sit yourself down.} {stand}

So, not only can I not enter it in the commandline, but I cannot get it to work through the graphical interface method either and I am doing exactly what the help files tell me to do. (They are rather vague though.) Can anyone please help me?
Reply with quote
shalimar
GURU


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

PostPosted: Mon Oct 15, 2007 5:23 am   
 
You have mismatched brackets, it should be:

#TRIGGER {You sit yourself down.} {stand}
_________________
Discord: Shalimarwildcat
Reply with quote
Apocalyptic
Beginner


Joined: 27 Aug 2007
Posts: 25

PostPosted: Mon Oct 15, 2007 2:34 pm   
 
I tried that. Did not work. Why isn't it working? Is it impossible to do triggers in CMUD?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Mon Oct 15, 2007 3:07 pm   
 
Are your triggers enabled? There is a little gun icon to the right of your command line. If that gun has an x through it click it again to take the x off.


Triggers work fine in CMUD...
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Oct 15, 2007 3:58 pm   
 
Also make sure your special characters are defaulted (at least for the command character.) Your command character should be #.

Charneus
Reply with quote
Apocalyptic
Beginner


Joined: 27 Aug 2007
Posts: 25

PostPosted: Mon Oct 15, 2007 4:21 pm   
 
How do I do that exactly? The triggers are enabled. I checked for that. Thanks for the suggestion though. How do I make sure that my special characters are defaulted? Is that something special or just a CAPS LOCK kind of thing. I am so new to this.
Reply with quote
shalimar
GURU


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

PostPosted: Mon Oct 15, 2007 4:48 pm   
 
Click the 'Prefs' button at the top of the window.

Click the 'Scripting' button on the left side of the window that pops up.

Choose the 'Special Characters' tab at the top of the window.

Click the 'Reset to Defaults' button at the bottom of the window.

Click OK>
_________________
Discord: Shalimarwildcat
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Mon Oct 15, 2007 5:04 pm   
 
The special characters are listed in the preferences. Click Prefs on the toolbar. In the new window that opens, change to the Scripting page on the side, and then the Special characters tab at the top. The default should look like this.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Apocalyptic
Beginner


Joined: 27 Aug 2007
Posts: 25

PostPosted: Mon Oct 15, 2007 10:50 pm   
 
Still not letting me make triggers through the command line or the package editor. I don't know what I am doing wrong. Does Achaea not like triggers?
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Mon Oct 15, 2007 11:11 pm   
 
It's nothing to do with Achaea. What exactly happens when you do #trig {something} {something} on the command line? Does the trigger just not get created? What's your operating system?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Apocalyptic
Beginner


Joined: 27 Aug 2007
Posts: 25

PostPosted: Tue Oct 16, 2007 12:01 am   
 
The game tells me I am babbling, I don't think so, or Sorry, I don't understand what you have typed, etc. XP OS
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Tue Oct 16, 2007 12:09 am   
 
That command shouldn't be sent to the MUD. Make sure that parsing is turned on (the computer icon next to the trigger icon in the bottom right corner) and that your special command character is still #.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Apocalyptic
Beginner


Joined: 27 Aug 2007
Posts: 25

PostPosted: Tue Oct 16, 2007 1:00 am   
 
Trigger now works. Thank you. Now can someone guide me on how to do it through the fancy windows/package editor?
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Tue Oct 16, 2007 1:28 am   
 
Click the Settings button to open the Package Editor. Click the arrow on the New button and choose Trigger from the list. Enter the pattern (text to match) and the script (commands to send), click Save (don't have to) and you're good.
_________________
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