Umm I was trying to scrip something that counts how many letters in your text you say, there are. This is kinda simple but it only works 1 time. And when I added a timeout it oviously didn't help. It's werid. I probally overlooked something but here ya go:
NPC Code:
// NPC made by Rob Getashu
if (created) {
this.ctxtcount = strlen(#v(#c));;
}
if (playerchats) {
if (this.ctxtcount=<8&&this.ctxtcount>0) {
message good;
}
if (this.ctxtcount>8) {
message bad;
}
}
Thanks