Well, I am trying to do a mining script and its comming out pretty well. I know how to make it find random things but I can only do two random things. Here is what I have.
if (weaponfired) {this.result=random(1,100)
if (this.result<=20) {
message Iron Found;
}
else if (this.result<=50) {
message Nothing Found;
}
I just did that out of my head but I think thats right. How would I make it so it countinued on? So I could have more than just Iron and nothing?