|
Hronden Newbie
Joined: 25 Jan 2010 Posts: 7
|
Posted: Thu Apr 14, 2011 11:45 pm
Quick formatting issue |
My mud requires using a dot operator when specifying a quantity.
so Variable - headcount is numerical = 4
Alias head = get @headcount.head harness
Should send get 4.head harness
But it isn't recognizing 4.head and sends get harness
What do I need to change so it will grab the variable and send it properly? |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Apr 15, 2011 12:12 am |
The problem is that the . following a variable reference makes it think that you are trying to access the value of the head key in the headcount database variable. Try this instead:
Code: |
get %expand(@headcount).head harness |
|
|
|
|
Hronden Newbie
Joined: 25 Jan 2010 Posts: 7
|
Posted: Fri Apr 15, 2011 12:44 am |
That did the trick. Thanks Daern
|
|
|
|
|
|