am i doing something wrong with the string ? the variable name is 'class' and the variable itself is 'player.class'...
Sounsd to me like you are trying to use dot notation (as you would in Visual Basic to set/read a property for instance) you can't do that in Quest.
You can declare a variable in quest by setting it to an initial value...
set string <PlayerClass;string here>
and to alter it you use EXACTLY the same statement - except the 'string' part is optional/..
set string <PlayerClass;string here>
or
set <PlayerClass;string here>
are both acceptable to alter a string variable.
But I think you're attempting to make a string a property of an object-to do that in Quest you would use in your object definition something like...
define object <dragon>
properties <name=Puff>
end define
you may then access this by reading the property not with 'dragon.name' -(which I THINK is what you are trying to do with your use of 'player.class' above) but with the Quest syntax '#dragon:name#' -the hashes are obligatory to read a string property.
Hope this helps
Al (MaDbRiT)