give {_integer} redstone ore to the player not working

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

Mich7272

Member
Apr 12, 2019
49
0
0
I try to do this like the title and also saying {_integer} parsed as an integer

Code:
                    set {_i} to random integer between 3 and 5
                    add {_i} parsed as an integer redstone ore to the player


#also I try this
                    set {_i} to random integer between 3 and 5
                    add {_i} parsed as an integer redstone ore to the player's inventory

#and like this too

                    set {_i} to random integer between 3 and 5
                    give {_i} parsed as an integer redstone ore to the player
 
why are you parsing an integer as an integer?
Also you can just do
code_language.skript:
give (random integer between 3 and 5) of redstone ore to player
 
why are you parsing an integer as an integer?
Also you can just do
code_language.skript:
give (random integer between 3 and 5) of redstone ore to player
And what about if I wanna multiply {_I} times 3 or something like that
 
Status
Not open for further replies.