|
demonachizer Newbie
Joined: 15 Sep 2003 Posts: 4 Location: Bhutan
|
Posted: Sat Dec 11, 2004 3:55 am
Trouble with wild cards and variables |
Ok this is kind of basic but...
How does one store a wild card into a variable and then call it?
e.g.
Mud outputs
You sense a trail <direction> from here...
I then want the client to output the direction.
I have tried using
You sense a trail %w from here...
Which works fine to trigger it but doesn't seem to store it as a variable for me to output. Any help would be incredibly appreciated. |
|
_________________ |
|
|
|
DustyShouri Novice
Joined: 29 Oct 2004 Posts: 34
|
Posted: Sat Dec 11, 2004 4:28 am |
Put ()'s around any wildcards you want to store as variables.
You sense a trail (%w) from here...
Which in return, the variable for it would be %1 |
|
|
|
demonachizer Newbie
Joined: 15 Sep 2003 Posts: 4 Location: Bhutan
|
Posted: Sat Dec 11, 2004 5:25 am |
Thanks a bunch!
|
|
_________________ |
|
|
|
|
|