munga
Numbers
Magic random number between two numbers.
How to write it
munga(<low>, <high>)
What it does
munga(1, 6) gives a random whole number from 1 to 6 -- both ends included. Perfect for dice and games.
munga(1, 1) is always 1, which is handy for testing.
Example
grunk dice = munga(1, 6)
oga "You rolled a", dice
Tips
- Run the program again for a different number.