variable question
Posted: Mon Jun 27, 2005 2:30 pm
Hey,
I found this on rjukan's poject site:
-------------------------------------------------------------------------------------
Command: randomfloat
Syntax: randomfloat ( Float max )
Example: randomfloat 14.9
Description: Returns a random number between 0 and 'max', inclusive of 0 and exclusive of 'max' (i.e. 'max' will never be returned).
-------------------------------------------------------------------------------------
Command: randomint
Syntax: randomint ( Integer max )
Example: randomint 10
Description: Returns a random number between 0 and 'max', inclusive of 0 and exclusive of 'max' (i.e. 'max' will never be returned).
-------------------------------------------------------------------------------------
This is almost what i want. The only thing that i want is that i can choose between which numbers there will be chosen.
So, basicly i want a number be chosen between 10 and 20. (example numbers)
thanks,
-Runt
I found this on rjukan's poject site:
-------------------------------------------------------------------------------------
Command: randomfloat
Syntax: randomfloat ( Float max )
Example: randomfloat 14.9
Description: Returns a random number between 0 and 'max', inclusive of 0 and exclusive of 'max' (i.e. 'max' will never be returned).
-------------------------------------------------------------------------------------
Command: randomint
Syntax: randomint ( Integer max )
Example: randomint 10
Description: Returns a random number between 0 and 'max', inclusive of 0 and exclusive of 'max' (i.e. 'max' will never be returned).
-------------------------------------------------------------------------------------
This is almost what i want. The only thing that i want is that i can choose between which numbers there will be chosen.
So, basicly i want a number be chosen between 10 and 20. (example numbers)
thanks,
-Runt