View Single Post
  #4  
Old 07-03-2002, 09:15 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
well, it depends on when you call the setstring command


if you do
NPC Code:

if (playerchats) {
setstring welcomemessage,#c;
}



but if you have it running in a loop, then its doubtful that the player will have chat text on ever loop execution

and if it is ran in a loop execution, you could do

NPC Code:

if (timeout) {
if (!strequals(#c,)) {
setstring welcomemessage,#c;
}
}

__________________
[signature]insert here[/signature]
Reply With Quote