Is it possible to split an expression that has 2 parts and assign each part to a different variable? This might not make sense so here's an example.
Clicked item returns something such as "5 cobblestone" so is there a way to set one variable to "5" and one variable to "cobblestone"?
If that's not possible, is there a way to get just the number of the clicked item?
code_language.skript:
on inventory click:
broadcast "clicked item"
Clicked item returns something such as "5 cobblestone" so is there a way to set one variable to "5" and one variable to "cobblestone"?
If that's not possible, is there a way to get just the number of the clicked item?