Those errors I was talking about. I found the script causing it. Its this.
if (not HasAttribute (game.pov, "equipped")) {
game.pov.equipped = fists
}
do (this, "settoattack")
attackroll = GetRandomInt (1, 20) - this.defence + game.pov.attack
attackroll = attackroll + game.pov.equipped.attackbonus
if (attackroll > 10) {
damage = game.pov.equipped.damagebonus
for (i, 1, game.pov.equipped.damagedicenumber) {
damage = damage + GetRandomInt (1, game.pov.equipped.damagedicesides) - this.armour
}
this.hitpoints = this.hitpoints - damage
if (this.hitpoints > 0) {
msg ("You swing " + game.pov.equipped.alias + " and hit, doing " + damage + " points of damage; " + this.hurt)
}
else {
msg ("You swing your " + game.pov.equipped.alias + " and hit, doing " + damage + " points of damage; " + this.death)
do (this, "makedead")
}
}
else {
msg ("You swing your " + game.pov.equipped.alias + " and miss.")
}
Not sure how I'm suppose to fix those lines. Any advice?