I think you need to use an Attribute, not a Variable:
Attribute: Object_name.lookdesc = wt_NothingOutOfTheOrdinary
~VS~
Variable: lookdesc = wt_NothingOutOfTheOrdinary
as it doesn't know: okay, do 'lookdesc', but.... OF WHAT ?????
'this' is a special usage that Gets the Object that is the Parent of the 'lookdesc' Script
if (LengthOf (this.lookdesc) = 0) {
this.lookdesc = wt_NothingOutOfTheOrdinary
}
-------------
otherwise, you may need to have your Return strings be inside double quotes:
return ("xxxxxxxxxxxxxxxxx.")
------------
lastly, maybe your CASES' numbers may need to be inside double quotes:
case ("1") {
}
case ("2") {