View Single Post
  #1  
Old 04-10-2007, 09:57 PM
shadowjones shadowjones is offline
**** Scripter xD
Join Date: Apr 2007
Posts: 24
shadowjones is on a distinguished road
Making sense of "else"

No matter what I do, whenever I type in ANY text at all and it will say whats in the else command (ex: I say jswkdng I get msg saying, "text part 2")

I'm trying to use this to make seperate messages when you have already talked to him.

NPC Code:
//CLIENTSIDE
if (clientr.helloworld=1 &&(playertouchsme))
say2 Text part 1;
else
say2 text part 2;

if (playerchats&&strequals(#c,Text part 3)) {
say2 Text part 4;
clientr.helloworld=1;
}

Reply With Quote