if(prob(30))
M.l=1
src << "You score!"
else
M.l=0
src << "Denied!"
I get messed up results though. If prob(30)==0 then it will do the else like its supposed to, but if prob(30)==1 then it will do both. Maybe I am using it wrong, if someone could help I would be really grateful.
Canar
The number inside the proc is the percent chance for it to work; the higher the number the more likely it will happen.
You used it right from what I see.