— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
The random number syntax generates an integer value within the given range (inclusive of the minimum and maximum value). It can be used in place of a literal value for most function arguments where a numeric value is expected.
wait(random(1, 5))
if random(0, 100) < 25 then give_item("ITEM_0001") else give_item("ITEM_0002") end