OrionVeteran
Deity
I have a simple question. I want to run a randum number that must be between than 1 and 7. Can I do the following without the qualifier: if ChanceNumber > 0: ?
Note: A "0" would crash the code in my next function, so the return must be greater than 0.
Note: A "0" would crash the code in my next function, so the return must be greater than 0.
Code:
ChanceNumber = (CyGame().getSorenRandNum(7,"") > 0)