#Skript doesn't work...

1 messages · Page 1 of 1 (latest)

junior ivy
#

I heard that you can make it yourself almost as a plugin if you use a script, so I'm doing it while looking on YouTube, but it seems a little strange.

on left click:

send "%player%" started with this syntax, but it didn't work, so I looked for something in the server cmd window and found out that there was a problem with this syntax. So I changed the send "%player%" part to send "1" and it worked. Even after this, set player's health to 6, set player's hunger level to 6, feed player, heal player These phrases don't work well. Looking at the problem, it seems that it will be difficult in the future. I hope that experts will solve it.

my minecraft version is 1.20.1, and I use GomSK InvSK SharpSK SharpSKUpdater SkBee SkChoke Skellett SkRayFall TuSKe
Skript version is 2.7.0

shrewd phoenix
#

Remove all of those deprecated addons first

junior ivy
shrewd phoenix
#

Everything except skbee

junior ivy
junior ivy
shrewd phoenix
#

show code and error

junior ivy
#

this is error message

junior ivy
#

this is code

warm sleet
#

I’ve had this error before

#

For some reason if you use click events skript goes crazy

#

Try using a different event (if you’re testing)

#

Or add if statements so it doesn’t run the code every single time a click is registered

#

The error is in the event itself just to make it clear. Not the %player% or anything else

junior ivy
uneven sleet
#

do /skbee info

#

and send everything that it returns

junior ivy
junior ivy
junior ivy
uneven sleet
#

yes, that version is very outdated

junior ivy