|
ennye Novice
Joined: 17 Dec 2007 Posts: 49
|
Posted: 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?? |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
ennye Novice
Joined: 17 Dec 2007 Posts: 49
|
Posted: Mon Dec 29, 2008 12:53 am |
Thx. Alias works fine.
|
|
|
|
|
|