Rolling within a certain block range.

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

Riode

Member
Oct 28, 2018
1
0
1
25
Category: Chat Range/Rolling with random numbers.

Suggested name: Ranged Roll

What I want:
A command that allows you to roll in between a certain number, say /roll 20, that would generate a random number between 1 and 20, but for this also to be in a certain block range so that only people nearby can see the roll and the result. If it were to be possible a roll for armour attributes so like /roll initiative which then takes into account the protection you are wearing and minuses it from a 20 roll.

Ideas for commands:
/roll <number>
/roll <attribute> <number>

Ideas for permissions:
rolling.max20
rolling.attributes

When I'd like it by: Any time is fine, I'd just appreciate it!


Thanks,

Riode!