Jump to content

Ifrnd

From EDukeWiki
Revision as of 11:14, 12 July 2005 by Chibi (talk | contribs)

ifrnd <value> { <do somethin!> }

An if condition stating the probability of it 'doin somethin!' in this case.

NOTE: It's out of 256 as max, so 'ifrnd 256 = 100%', and 'ifrnd 128 = 50%'