
06-10-2003, 05:55 PM
|
|
Graalian since 1998
|
 |
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
|
|
Quote:
Originally posted by TB3
NPC Code:
if(playerenters||timeout) {
setstring this.message,H Hi H;
tokenize #s(this.message);
for (i=0;i<4;i++) {
message #t(i);
sleep .5;
}
timeout=1;
}
Just a quick script but sadly it is not that much shorter than the first one lolz
Didn't test it i just figured it would work.
|
Yes,it works fine.
But you could do for(i=0;i<=strlen(#s(this.message));i++)
instead of for(i=0;i<4;i++) |
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
|
|
|
|