#how can i make this work?

1 messages · Page 1 of 1 (latest)

wooden inlet
#

I've got this custom item here

#

and i want to make it so it gives an effect on right click but i can't name it the same

#
    if player is holding Item prismarine shard named "&eBooster":
        apply swiftness to player for 5 seconds
        stop ```
#

i can't get the name right

#

idk how to do that square thing

wooden inlet
wooden inlet
# wooden inlet

nothing in the skript that made this shows how the square and <<2>> is done

stable agate
#

how did you get the name in the first place?

#

use that

wooden inlet
#

its from the crackshot plugin

stable agate
wooden inlet
#

Ive looked in the skript for anything that would make the square but nothing

#

and for the part that names the item "Booster" there is nothing that changes the name at all

stable agate
#

maybe use crackshot weapon "&eBooster" instead

wooden inlet
blissful orchid
#
    if player is holding Item prismarine shard named "&eBooster" or "§eBooster":
        apply swiftness to player for 5 seconds
        stop ```
#

Try

wooden inlet
#

whats this symbol for? §

stable agate
#

it does the same thing as &

wooden inlet
blissful orchid
#

Wait

wooden inlet
#

im wanting to know how i can get the square

wooden inlet
blissful orchid
#
    if held item's name is "&eBooster":
        apply swiftness to player for 5 seconds
        stop ```
#

@wooden inlet

stable agate
#

What's even the error? (wrong syntax, name, etc.)

wooden inlet
#

theres no error but i can't get the square for the item to be the same

stable agate
# wooden inlet

so the shard works, but you yourself want to add the square?

blissful orchid
#

&eBooster • <<2>>

stable agate
#

should work ^

wooden inlet
#

with the name like this "&ezBooster" did not work for the

wooden inlet
wooden inlet
#

how did u do that any way?

blissful orchid
#

how did you make this booster

wooden inlet
wooden inlet
stable agate
wooden inlet
wooden inlet
stable agate
#

and do you want it to do that?

wooden inlet
#

and i have made a skript to check if i right click with the name "&eBooster" but it won't work bc the square

stable agate
#

and set the name there

wooden inlet
blissful orchid
#

@wooden inlet Try renaming the normal Parimarine Shard

#

if it worked then it means problem in item name

wooden inlet
#

this works

#

just a reg named one

blissful orchid
wooden inlet
#

is there a way i can do it but with lore not the name?

blissful orchid
#
        if lore of player's tool contains "lore":
        apply swiftness to player for 5 seconds
        stop ```
wooden inlet
#

ill try

blissful orchid
#

Idk it work or not

wooden inlet
#

ok

#

so it works on a norm shard

#

but not on the one with the square

blissful orchid
#
    if held item is prismarine shard:
                if lore of item contains "lore":
                    apply swiftness to player for 5 seconds
        stop ```
blissful orchid
wooden inlet
#

the middle bit

blissful orchid
#

Booster²

wooden inlet
#

?\

blissful orchid
#

Oh

wooden inlet
#

the same

blissful orchid
#

You can add Cooldown and custom commands

wooden inlet
#

i need something for the skript side of it

#

ive got the custom item

blissful orchid
#

You can create custom items

wooden inlet
#

i just need some way of picking up on when i right click with it

blissful orchid
#

Ability