The torch script is like this:
NPC Code:
if (created)
setshape 1,32,32;
if (playertouchsme)
toweapons Torch;
if (weaponfired) {
replaceani idle,torch_idle;
replaceani walk,torch_walk;
}
May be you have mixed some stuff with the weapons
(?). The 'replaceani' must be called on the clientside,
so only in weapons script, or in normal npcs with
a //#CLIENTSIDE line