So im making a GUI menu that sells items with my custom currency
Check the file i put here as an example
So like. ive searched everywhere on internet but all GUI's seem to just use console commands so
how can i make like a GUI that when an item is clicked in side of the GUI it would execute an skript
not just a console command ---> format slot 0 of player with grass named "&b&lExample" to close then run [execute console command "command"] <---- Not this
Like when a player clicks the grass named &b&LExample inside the menu it would execute this skript:
if {point.%player%} is 150:
remove 150 from {point.%player%}
message "&a&LYou now have access to /warp!"
make console execute command "manuaddp %player% essentials.warp"
Check the file i put here as an example
So like. ive searched everywhere on internet but all GUI's seem to just use console commands so
how can i make like a GUI that when an item is clicked in side of the GUI it would execute an skript
not just a console command ---> format slot 0 of player with grass named "&b&lExample" to close then run [execute console command "command"] <---- Not this
Like when a player clicks the grass named &b&LExample inside the menu it would execute this skript:
if {point.%player%} is 150:
remove 150 from {point.%player%}
message "&a&LYou now have access to /warp!"
make console execute command "manuaddp %player% essentials.warp"