Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'next gui slot' expression #77

Closed
Fusezion opened this issue Oct 8, 2021 · 1 comment
Closed

'next gui slot' expression #77

Fusezion opened this issue Oct 8, 2021 · 1 comment
Labels
completed Bug fix / enhancement will be available in the next release enhancement New feature or request

Comments

@Fusezion
Copy link
Contributor

Fusezion commented Oct 8, 2021

Description

Currently, we're only able to use format next gui slot... I feel like adding the expression for it would provide slightly more customization for more usages

for example let's say I'm making a skript where I'm formatting multiple gui slots based off the next gui location

(current location is 10) but I'm formatting gui slot 10, 19, 28 and 37 and so one for 6 more slots
to do this we're currently needing to do

loop (integers from 10 to 16):
  format gui slot loop-value...
  format gui slot loop-value+9...
  format gui slot loop-value+18...
  format gui slot loop-value+27...

I feel like being able to do

loop 7 times:
  format gui slot index of next gui slot+27...
  format gui slot index of next gui slot+18...
  format gui slot index of next gui slot+9...
  format next gui slot...

would prove easier on longer stuff like this and just feels better and with something like this I truly believe we'll see many more uses

@Fusezion Fusezion added the enhancement New feature or request label Oct 8, 2021
APickledWalrus added a commit that referenced this issue Nov 1, 2021
@APickledWalrus APickledWalrus added the completed Bug fix / enhancement will be available in the next release label Nov 1, 2021
@APickledWalrus
Copy link
Owner

APickledWalrus commented Nov 1, 2021

Will be added in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed Bug fix / enhancement will be available in the next release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants