#the idea is like I kill a skeleton and when I kill the skeleton if there is a copper in the invatari

1 messages · Page 1 of 1 (latest)

tropic finch
#

the idea is like I kill a skeleton and when I kill the skeleton if there is a copper in the invatario it will rename the name of the copper to 1% and when I kill 1 more it will go to 2% up to 100%

viscid osprey
#

cool

#

what have you got so far?

viscid osprey
#

dont spoon-feed them..

snow pasture
viscid osprey
#

maybe your time would be better spent working on your own issue then?

fallow quail
#

bro just gave him the whole thing..

tropic finch
#

I can do this in lore??

viscid osprey
#

you can display the number wherever you want

tropic finch
#

oh thx

viscid osprey
#

i would recommend not getting it from name/lore, as that requires parsing

#

store it in an NBT tag then use that in the name/lore

tropic finch
#

what do you mean and understand

viscid osprey
#

the name and lore of an item are strings, so you would need to parse as a number to get the current value and then add 1 to it

tropic finch
#

Why didn't the code above work?

#

Why didn't the code above work?

viscid osprey
#

no need to ping them...

#

and dont beg to be spoon-fed, it hurts you the most

#

as for why it doesnt work, you can try debugging it

snow pasture
#

Send the error

tropic finch
#

but

#

im placed the code in skript

#

im killed the skelleton

snow pasture
tropic finch
#

no error in chat

snow pasture
#

bro

#

u didn't change the name in on load:

tropic finch
snow pasture
#

Mano, nmrl, estuda um pouco antes de pedir ajuda, ajudei namoral e vc fica ai sem se esforçar, ai é fogo

tropic finch
#

eu tou tentando

#

stein

#

mas eu coloquei aqui o ocidog que se deu

#

e n ta funcionando

#

juro que fiz certinho mano

snow pasture
#

nao fez

tropic finch
#

e desculpa tar chatenado

snow pasture
#

le o codigo

tropic finch
#

eu li

#

ta igual ao que se mandou

#

ate pedi a gente pra comparar

snow pasture
#

esse é o problema

#

vc tem que alterar pro seu nome

tropic finch
#

💀

snow pasture
#

pra vc conseguir o item

#
on load:
    set {copperingot} to a copper ingot named "&f&l0%%"
    add nbt compound of "{skeletonkiller:0}" to nbt compound of {copperingot}
    give {copperingot} to "_Ste1n_" parsed as a player```
#

ta _Ste1n_

#

Poe o seu nome

#

nunca mais ajudo alguem assim

tropic finch
#

mass assim funciona so pra min queria que qualquer player consegui-se ;-;

#

eu sei que ali tava seu nome

#

mas queria que qualquer combre

#

n um cobre especifico

snow pasture
#

entao faz po

#

skript já é uma linguagem extremamente simples

tropic finch
#

👍

#

ok obg por tudo

snow pasture
#

@viscid osprey i'll never Spoon feed anyone again, lol, I i'm mad as hell now

fallow quail
#

what they say?

#

also no pingy x8ight

long bridge
# fallow quail also no pingy x8ight

something along the lines of stuff about stein inputing their own name and wanting anyone to be able to use it and stein said its simple figure it out

snow pasture