#Give variable item

1 messages · Page 1 of 1 (latest)

glacial crane
#

Working on a skript and can’t figure out how to make this work

On break of gold ore:
Cancel drops
Give player {multiplier} iron ingot

Variables:
{multiplier} = 2

digital robin
#

Give {multiplier} of iron ingot to player

#

Try that

glacial crane
digital robin
#

cool, what does the error say?

#

I ask that because it works for me. Maybe you have an indentation error

vague cliffBOT
# pearl shuttle !codeblocks

:technologist: Code Blocks

To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:

```
Code here
```

pearl shuttle
#

you could like

  give player 1 iron ingot```
digital robin
#

That hurts my soul

pearl shuttle
digital robin
#

Isn’t very optimized

glacial crane
digital robin
quartz pelican
#

u could try {multi} parsed as number/integer

digital robin
#

It’s already an integer, why would you parse it?

quartz pelican
digital robin
#

this hurts my soul...

merry osprey
#

wrong

quartz pelican
digital robin
#

you wanting to parse an integer as an integer

quartz pelican
digital robin
#

is it so hard to see that parsing an integer as an integer will do literally nothing?

quartz pelican
#

🤷

quartz pelican
digital robin
#

i assumed its his skript version or he has an indentation error. He aint responding tho so i guess we will never know

#

I apologize for being rude, I should not discount your skripting experience

viscid hill
#

oh wait