Jump to content
  • 0

Random Number Skript


AbioticTitan947

Question

command /!dice <number>:
    trigger:
        broadcast "&d&l%player%&d rolled a %arg-1% sided dice!"
        set {dice_} to random integer between 1 and %arg-1%
        broadcast "&d&lThey roled a {dice_}!"

 

Can't understand this expression: 'random integer between 1 and %arg-1%' (conchshell.sk, line 38: set {dice_} to random integer between 1 and %arg-1%)

 

Why not tho (posted in help)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...