#I need help with a custom sword, im fairly new to skript
1 messages · Page 1 of 1 (latest)
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)
if player's tool is sword named "&lAtmos Sword":
your simplest option is name of player's tool = "..."
ty
do you know how to make it so it only effects other players not the user of the sword
loop all players where [input is not player]
i dont know how to make a cooldown, i understand that i have to use variables but i don't know how to use them in this situation
because I have to change the entire code