that only works once thak, and i think he wanted it to work withevery item too.
I tried for ya but I'm not any good with scripting, and it didn't work. if you can fix the error it should function properly..
NPC Code:
if (playerchats) {
this.drop = #c;
this.mode=1;
timeout=.05;
}
if (timeout) {
if (!this.count>25&&this.mode=1) {
lay2 this.drop,playerx +0.5,playery +3;
this.count ++;
}
if (this.count>25) {
this.count=0;
this.mode=0;
}
timeout=0.05;
}