Replace the original if (created) section with this;
NPC Code:
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head16.png;
setcharprop #C0,orange;
setcharprop #C1,gray;
setcharprop #C2,darkblue;
setcharprop #C3,darkblue;
setcharprop #C4,darkblue;
setcharprop #n,Guard (Graal Royal Army);
setcharprop #2,no-shield.gif;
shieldpower = 1;
dir = 2;
swordpower = 1;
this.originalx=x;
this.originaly=y;
}
if (playerchats && strequals(#c,reset) && strequals(#g,Graal Royal Army)) {
x=this.originalx;
y=this.originaly;
}
Saying RESET will now make it default back to its original position. I couldn't test this and so I think it'll still attack players even when warped back. It doesn't stop it attacking a certain guild, but tell me what you think. :P