Quote:
Originally posted by Saga2001
NPC Code:
(playerchats) {
tokenize #c;
(strequals(#t(0),Do)&&strequals(#t(1),Cool)&&streq uals(#t(2),Command)) {
playerheadset=603;
set randowarp;
}
}
while (randowarp) {
playerx = random(0,64);
playery = random(0,64);
sleep .05;
}
wouldn't that suck?!?!?!
i am going with if...
but besides if i am going with with(getplayer(accountname))...
|
One question.. why is the players chat text tokenized, and then checked if it equals 3 words, when you could have just as easily said:
NPC Code:
if (playerchats && strequals(#c,Do Cool Command)) {
????
Anyway, I would have to be stuck with join and putnpc2 also.
