WoW:API RandomRoll

From AddOn Studio
Revision as of 11:30, 20 September 2005 by WoWWiki>Murkeli
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Performs a random roll between two numbers. This is the same as /roll, so the roll is shown to people around you.

RandomRoll("low", "high");

Example:
RandomRoll("1", "100");
Result:
YourNameHere rolls 69. (1-100)