Lots of stuff relating to random numbers.
Commands for Random
CommandArgs Detailed Help
diceroll[<number of sides>] Rolls a die with <number of sides> sides. The default number of sides is 6.
randomtakes no arguments Returns the next random number from the random number generator.
range<start> <end> Returns a number between <start> and <end>, inclusive (i.e., the number can be either of the endpoints.
sample<number of items> [<text> ...] Returns a sample of the <number of items> taken from the remaining arguments. Obviously <number of items> must be less than the number of arguments given.
seed<seed> Sets the seed of the random number generator. <seed> must be an int or a long.

Configuration Variables for the Random plugin

  • supybot.plugins.Random.public
    • Default: True
    • Channel Specific: False
    • Help: Determines whether this plugin is publicly visible.
  • supybot.plugins.Random.seed
    • Default: 1106082608
    • Channel Specific: False
    • Help: Sets the seed of the random number generator. The seed must be a valid Python integer or long. If the seed is 0, a seed based on the current time will be used.

<- RSS | Plugins Index | Commands Index | Relay ->

Valid HTML 4.01! Valid CSS! SourceForge.net Logo