#Help me fix this

1 messages · Page 1 of 1 (latest)

fathom crest
#

on right click: set {_item} to player's tool if {_item} is diamond sword: if name of {_item} is "&cDungeon Key &4[Floor 1]": send "&aSuccess" to player cancel event command /givekey: trigger: give player diamond sword named "&cDungeon Key &4[Floor 1]"

#

soz for bad layout

glossy lichen
#

you can just do on right click with diamond sword

fathom crest
#

i tried

#

but it said couldnt understand condition

#

it requires skbee doesnt it to do the with part

glossy lichen
#

could also try using instead of with

#

and no, it does not require SkBee

edgy pendant
#

what is problem and is there error?

glossy lichen
#
fathom crest
#

im pretty sure that that isnt the error, it says that it cant compare player with the item or smh

edgy pendant
#

can u send ss of error

fathom crest
#

no as im having to reload it on bedrock edition on a ps

glossy lichen
#

Playstation has Discord?

edgy pendant
glossy lichen
#

@fathom crest are you familiar with the term "debugging"?

fathom crest
glossy lichen
#

Okay. So i would do so. Do something like broadcast 1 or broadcast 2 after every single line to see exactly where the code stops, then we can go from there

fathom crest
#

Hang on I can send ss from phone of error give me a few mins

#

I fixed it thanks for helping

woven yewBOT
#

You successfully increased @glossy lichen's reputation. They now have 4 skoints!