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
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Fri Apr 25, 2008 5:48 pm   

What's wrong with this?
 
Code:

#al Pcolor {
#say Pcolor1: <color @Pcolor1>@Pcolor1</color>
#say Pcolor2: <color @Pcolor2>@Pcolor2</color>
#say Pcolor3: <color @Pcolor3>@Pcolor3</color> } {General Aliases|Damage Calculator}


So I can use Pcolor in <color> in my trigger, but not my #say alias?
Reply with quote
JQuilici
Adept


Joined: 21 Sep 2005
Posts: 250
Location: Austin, TX

PostPosted: Fri Apr 25, 2008 5:55 pm   
 
#SAY sometimes allows you to get away with not grouping the arguments properly, but, when in doubt, call it with one arg.
Code:
#al Pcolor {
#say {Pcolor1: <color @Pcolor1>@Pcolor1</color>}
#say {Pcolor2: <color @Pcolor2>@Pcolor2</color>}
#say {Pcolor3: <color @Pcolor3>@Pcolor3</color>} } {General Aliases|Damage Calculator}

That will enter properly and work properly.
_________________
Come visit Mozart Mud...and tell an imm that Aerith sent you!

Last edited by JQuilici on Fri Apr 25, 2008 5:56 pm; edited 2 times in total
Reply with quote
shalimar
GURU


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

PostPosted: Fri Apr 25, 2008 5:55 pm   
 
try bracketing each #SAY?

just a second too slow
_________________
Discord: Shalimarwildcat
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