Thread: Err help?
View Single Post
  #1  
Old 02-12-2003, 04:42 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Err help?

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
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote