I have been playing around with TStaticVar objects and one thing i noticed was assigning a float to a variable and trying to echo the var makes the NPC server crash.
NPC Code:
obj = new TStaticVar("obj");
obj.name1 = "steve";
obj.number = 123;
obj.float1 = 1.23;
echo( obj.float1 );
NPC Code:
obj = new TStaticVar("obj");
obj.name1 = "steve";
obj.number = 123;
obj.numarray = {1,2,3};
Also assigning arrays to the object makes the NPC server crash.