Okay made a clean version of the sword power thing but it still doesn't work. It sets the sword image, and the power for less than a second, then it goes back. X_x
NPC Code:
// NPC made by Excaliber
if(created){
setshape 1,32,64;
}
if(actionsword){
playerswordpower = 5;
}
//#CLIENTSIDE
if (playertouchsme) {
setplayerprop #1,hot-sword.gif;
playerswordpower = 5;
setsword hot-sword.gif,5;
say2 A NEW SWORD!;
triggeraction 0,0,x,y,sword,sword;
}