Sueta

Random+ || Close to 100% random

API (2.0)

Better random integer generation

·Plugin

R+LogoWide.jpg By: Jeroenoboy & Stevecv

Donate


What is Random+

Random+ is a simple api for better random functions. When i was in making the next update of SkEdit, i've noticed something off when i was mass filling, there was a pattern keeping on appearing. Random+ will make skript a lot more random.

But whats the difference?

Click

Tested with a unreleased SkEdit version
Without Random+
BadR+.jpg
With Random+
R+.jpg

API:

Usage: (in {} is unnecesary, it is default set to 5)
    1: Rand(Min, Max{, Loop times})
    2: Random(Min, Max{, Loop times})
    (i know these are the same but some may prefer rand and others random ¯\_(ツ)_/¯)
Example:
    on join:
        set {_MSG} to rand(1, 2)
        if {_MSG} = 1:
            message "&8[&cHypercraft&8] &7Welcome &c%Player% &7to the Hypercraft network"
        else if {_MSG} = 2:
            message "&8[&cHypercraft&8] &7Boot up your hyperdrive, its time to play!"

Need help or found a bug? Join the discord! dont leave in the revieuw. https://discord.gg/cNcxs7n

Similar projects

Plugin →