Skip to main content

IF_RAND

Keywords: IF_RAND
Syntax: if rand <number> The argument used on this if_check is a percentage number, between 0 and 100. This rand if_check, turns true if a random number (rand) is less or equal to the argument, and false if the random number (rand) is greater than the argument. Example: say head I win. emote tosses up a coin. if rand 50 say HEAD! I've won!! else say damned!! you've won! mob oload 5034 give coin $n endif