Opcodes that perform random functions are:
birnd
rnd
See the section Random (Noise) Generators for opcodes that generate random signals.