kdberg Beginner
Joined: 06 Jan 2003 Posts: 18 Location: USA
|
Posted: Sun Jan 19, 2003 11:16 pm
Expanding Variables |
According to the 6.40 documentation on the #TAG command:
"Normally, these parameters are not evaluated or expanded since they represent literal text from the MUD. However, if an argument is a single variable reference, then the variable will be expanded."
I have a tag trigger that successfully matches the room name and stores it in the variable RoomName. I then issue the command:
#TAG name {@RoomName} which is the syntax I copied right out of the documentation example.
The result is that the automapper assigns the the room name the string {@RoomName) verbatim.
If I change the tag command to
#TAG name @RoomName
everything works as it should.
Is the documentation incorrect, or is there something else going on that is changing normal expansion behavior? |
|