Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.