its probably laggy and not very good but try this sucka:
NPC Code:
NPC Code:
if (created) {
timeout=1;
}
if (timeout) {
this.oldx=this.newx;
this.oldy=this.newy;
this.newx=playerx;
this.newy=playery;
if ((this.newx==this.oldx)&&(this.newy==this.old)) {
message Player Did Not Move!;
}
timeout=1;
}
thats just a little bit, but toy with it ...