From the NannyMUD documentation

LAST CHANGE

2000-12-12

FUNCTION


NAME

        random - Give a random value.

SYNTAX

        int random(int limit)

DESCRIPTION

        Gives a random value between 0 and 'limit - 1'. Note that the 'limit'
        must be a positive integer.