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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
atpeace
Novice


Joined: 26 Jan 2009
Posts: 32

PostPosted: Mon Jan 26, 2009 1:05 pm   

Compilation of #TEMP Trigger with ID
 
;Does Not Compile
#TEMP Name {^$} {
#ECHO SomeCommand
#ECHO SomeCommand
} SomeClass
;Error Unmatched braces

Does Compile
#TEMP {^$} {
#ECHO SomeCommand
#ECHO SomeCommand
} SomeClass
Reply with quote
Progonoi
Magician


Joined: 28 Jan 2007
Posts: 430

PostPosted: Mon Jan 26, 2009 2:43 pm   
 
As far as I know you can't have named temp triggers but I can very well be wrong.
_________________
The Proud new owner of CMud.

--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
--------------------------------
Reply with quote
atpeace
Novice


Joined: 26 Jan 2009
Posts: 32

PostPosted: Mon Jan 26, 2009 2:48 pm   
 
Worked in ZMud and syntax listed in the help as :

Syntax: #TEMP id {pattern} {commands} classname options
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jan 26, 2009 6:09 pm   
 
Try putting " quotes around the ID name:

#TEMP "Name" {^$} {#ECHO...} SomeClass
Reply with quote
atpeace
Novice


Joined: 26 Jan 2009
Posts: 32

PostPosted: Mon Jan 26, 2009 7:13 pm   
 
#TEMP "SomeName" {^Ahh, I am truly sorry, but I do not see anyone by that name here.$} {
#T- TrigGiveAllFailb
#T- TrigGiveAllOK
} aGeneral

Fails on compile
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Jan 26, 2009 8:07 pm   
 
Something's weird here, because this compiles. I think it expects the commands to be on one line.

Code:
#TEMP Name {^$} {
#ECHO SomeCommand; #ECHO SomeCommand
} SomeClass
_________________
Asati di tempari!
Reply with quote
atpeace
Novice


Joined: 26 Jan 2009
Posts: 32

PostPosted: Mon Jan 26, 2009 8:26 pm   
 
Yeah with ";" instead of %crlf in the script it will compile.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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