View Single Post
  #18  
Old 03-08-2003, 08:29 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Kaimetsu
NPC Code:

if(playertouchsme){
message So, you wanna see how I'd code it?;
this.state=1;
timeout=2;
}
if(timeout) message;
if(playerchats){
if(this.state==1){
if(strequals(#c,yes)){
message Well you can just go to hell; timeout=2;
}
elseif(strequals(#c,no)){
message Well you can just go to hell; timeout=2;
}
}
}

This is why you should not anger the script monkey
__________________
Reply With Quote