im using the fuctions for the first time, and i try to make this:
but im getting this error message:
code_language.skript:
function "book":
loop player's inventory:
if name of loop-item is "asd":
remove loop-item from player's inventory
stop
wait 1 tick
return
command /bkk:
trigger:
access "book"
[19:10:55 ERROR]: Invalid function definition. Please check for typos and that the function's name only contains letters and underscores. Refer to the documentation for more information. (kul.sk, line 12: function "book":')
[19:10:55 ERROR]: Invalid function definition. Please check for typos and that the function's name only contains letters and underscores. Refer to the documentation for more information. (kul.sk, line 12: function "book":')