Hello,
I did just create a function which has the following code in it:
(Where _p is the player and the _s is an input String)
Problem is that whenever I want to run this, the option looks for {@{_s}, instead of {@{_s}.price}.
I'm calling this function like 20 times in my code and I don't really want to create 20 same functions with one word changed. Thanks.
I did just create a function which has the following code in it:
code_language.skript:
if {lvlpoints.%{_p}%} is greater than {@{_s}.price}-1:
Problem is that whenever I want to run this, the option looks for {@{_s}, instead of {@{_s}.price}.
I'm calling this function like 20 times in my code and I don't really want to create 20 same functions with one word changed. Thanks.