#I need help with a custom sword, im fairly new to skript

1 messages · Page 1 of 1 (latest)

bright creek
#

players item is "&lAtmos Sword" isnt a thing

#

how are you supposed to compare an item to some text?

#

it's only possible to compare similar things to eachother.
in this case, you'll want

  • item and item
  • text and text
#

you can set a variable to the sword, and then check if their tool is that item,
or you can check if the name of their tool is "&lAtmos Sword"

#

(the best way to identify custom items is with an nbt tag, if you want to get into that)

inland grove
#

if player's tool is sword named "&lAtmos Sword":

bright creek
#

your simplest option is name of player's tool = "..."

fallow oasis
#

ty

fallow oasis
cursive adder
#

loop all players where [input is not player]

fallow oasis
#

ok

#

so loop all players where [input is not player]:

#

ty

fallow oasis
#

because I have to change the entire code