Solved Great than, random number, if and else issue

  • 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 community!

    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.

Caldrena

Member
Dec 6, 2017
2
0
0
I'm trying to create a /roll skript for my server where people can do /roll <number> and it will roll a dice with that number of sides on it and choose a random number from 1 - <number> but I want to max out the <number> to be 100 so people cant do /roll 1000 and can only do max 100 and min 1. Problem is I can't seem to do this, I've tried so many tactics to try and set the max until I finally gave up and came here. Can someone please help me figure out how to set a max number that people cant go over and min number people cant go under?



Skript Code - https://hastebin.com/xexayozuwi.pl
 
Status
Not open for further replies.