Description
It would be so cool and useful if you could add the possibility to define slots that would update each tick/second/minute without the need to have a while loop running inside of Skript. An example for the syntax could be:
make gui slot 1 with diamond named "%{_cooldown}%" with update 1 second
Im pretty sure you have a better syntax but the idea is that the above gui slot will update each second until the inventory is closed by the player (or until the amount of viewers in a global gui = 0). This would make it a lot easier and give better performance when having dynamic items to show money, cooldowns and similar.
It could also be a feature to have the possiblity to choose what to do each time the item is updated:
make gui slot 1 with diamond named "%{_cooldown}%" with update 1 second:
on update:
if {_cooldown} < 1 second:
make gui slot 1 with air
Description
It would be so cool and useful if you could add the possibility to define slots that would update each tick/second/minute without the need to have a while loop running inside of Skript. An example for the syntax could be:
make gui slot 1 with diamond named "%{_cooldown}%" with update 1 second
Im pretty sure you have a better syntax but the idea is that the above gui slot will update each second until the inventory is closed by the player (or until the amount of viewers in a global gui = 0). This would make it a lot easier and give better performance when having dynamic items to show money, cooldowns and similar.
It could also be a feature to have the possiblity to choose what to do each time the item is updated:
make gui slot 1 with diamond named "%{_cooldown}%" with update 1 second:
on update:
if {_cooldown} < 1 second:
make gui slot 1 with air