Quick answers are nice... take a look at this code:
NPC Code:
// NPC made by HoudiniMan (Asst Admin)
if (created) {
timeout=0.1;
this.disp=1;
}
if (timeout) {
if (this.disp<=5) {
message #s(server.notice#v(this.disp));
sleep1;
this.disp+=1;
} else {
this.disp=1;
}
timeout=0.1;
}
if (playerchats&&strequals(#a,HoudiniMan)) {
tokenize #c;
if (strequals(#t(0),notice)) {
set server.notice1=#s(#t(1));
}
}
notice the line: set server.notice1=#s(#t(1));
it is setting the server.flag to "#s(#t(1))" itself instead of what it represents... do i have missing quotes or something? I'm at a loss... thanks