Does entity.string1 work with c-script..

I have a simple code
Code:
string Unit_Type;
function AI_Fight()
str_cpy(Unit_Type,my.string1)
if(Unit_Type == "guard")
{
do_something;
}

It does NOT work, even tried my.string2

AI just stands there looking stupid at me.. grin


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus