View Single Post
  #1  
Old 09-12-2002, 02:16 PM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Quick Answer Needed

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
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote