Hey, so i'm pretty new with skript, and I need help with a skript i've been working on for a while, but can't get it to work. I basically need a GUI to pop up (Which I already know how to do and add commands on clickable items), but i'm trying to figure out how to make a clickable item execute 2 commands. I'm trying to make a skript where you would do /extras, and a GUI would pop up with purchasable items using in game money.
Example:
Slot 1 would be a chest and if clicked it would take 50,000 in game money (Command: eco take %player% 50000) And it would give the player a mob chest (Command: chest give moball %player% 1) If the player did not have $50000 they would not receive the mob chest.
Eco plugins:
Vault & Essentials.
Example:
Slot 1 would be a chest and if clicked it would take 50,000 in game money (Command: eco take %player% 50000) And it would give the player a mob chest (Command: chest give moball %player% 1) If the player did not have $50000 they would not receive the mob chest.
Eco plugins:
Vault & Essentials.