Solved Random Number Generator

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

The77Gamer

Member
Aug 16, 2022
10
0
1
20
Im trying to make a random number generator for different numbers. eg: /random 100 300 and you would get like 221 or smth.
Code:
command /random <text> <text>:
    trigger:
        send "%random number between arg-1 and arg-2%"
 
send "%random number between 1 and 2%" # Gives 1, 1.4, 1.8, bla bla
send "%random integer between 1 and 5%" # Gives 1, 3, 4, 2, bla bla

(if you want to get a integer)
 
Status
Not open for further replies.