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
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Sun Dec 28, 2008 2:27 pm   

[2.37] #pick working?
 
Is #pick working correctly?

Code:
#pick {p:Pick a number} {1:#say You picked1!;#say 1 is your choice.} {2:#say You picked 2!;#say 2 is your choice.}


Picking anything sends zmud comands to mud, not to zmud parsing!



#say You picked1!;#say 1 is your choice.
What??
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sun Dec 28, 2008 6:01 pm   
 
It's because you have the command stacker in there, which is not being parsed correctly.

You'll find if you removed the ; and your second #SAY, it'll work just fine. You might want to consider putting multiple commands into an alias and do it that way.

Charneus
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Dec 28, 2008 7:10 pm   
 
You can use %cr and %concat() to get rid of the second #SAY.
_________________
EDIT: I didn't like my old signature
Reply with quote
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Mon Dec 29, 2008 12:53 am   
 
Thx. Alias works fine.
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