NPC Code: if (created||timeout){ if (x in |x-1,x+1| && y in |y-1,y+|){ //Checks to see if mouse in position message Rar!; //Commands Here } timeout=0.05 }
if (created||timeout){ if (x in |x-1,x+1| && y in |y-1,y+|){ //Checks to see if mouse in position message Rar!; //Commands Here } timeout=0.05 }