Nope. Doesn't work.
I know this is possible. I think Devenio (sp?) helped me the first time about a year and a half ago maybe. *sigh*
Sometimes it does work tho. Like if I keep updating my script and changing stuff around then chaning it back to this it works.. No explination for why, but it doe, but not for long. THen it breaks again.
The only thing I think I can remember is something similar to this.
NPC Code:
with( test[0] ) {
a = "test";
}
player.chat = test[0].a;