Opcodes that generate random numbers are:
See seed which sets the global seed value for all x-class noise generators, as well as other opcodes that use a random call, such as grain rand, randh, randi, rnd(x) and birnd(x) are not affected by seed.
See also functions which generate random numbers in the section Random Functions