Quote:
Originally posted by ownerofbabylon
Like this:
if (weaponfired) {this.result=random(1,100)
if (this.result<=20) {
message Uh oh it was less than or equal to 20;
}
else if (this.result<=50) {
Oh thank god it was higher than or equal to 50;
}
I just did that off the top of my head but its the basic idea.
|
its wrong .. line should be
else if (this.result>=50) {