
09-15-2001, 07:34 PM
|
toad@graal:~$ ./Oldbie
|
Join Date: May 2001
Location: Aust.
Posts: 3,819
|
|
Quote:
Originally posted by grim_squeaker_x
Hmm... I'm not sure but wouldn't the following script work for that?
NPC Code:
if (playerchats) {
if (strequals(#g,Events Team)&&strequals(#c,ID-o-Matic)) {
this.test=0;
while (this.test==0) {
i=int(random(0,150));
with (players[i]) {
this.test=1;
playerrupees+=10;
}
}
}
}
|
I'm thinking that would instintanously (sp?) set this.test to 0, get the random number, give the player 10g and then set this.test to 1. Am I right? |
__________________
Creator of the original 'spam' icon. Worst mistake I ever made on these forums.
|
|
|