You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the description of this expression, it says "Asking for this does not remove the element from the queue." but in the example, it shows adding 2 elements, broadcasting them both, and the queue being empty.
Ah I see, I had a brain fart. I think my logic was that start and first element of are basically the same, so I would expect the same behavior from them.
Ah I see, I had a brain fart. I think my logic was that start and first element of are basically the same, so I would expect the same behavior from them.
Well I don't think it's your fault, we might be able to make the documentation clearer if you have any suggestions.
Basically, start... and end... reference the beginning and the end of the queue (rather than, specifically, the first and last elements) so you can add stuff to the start and end, or remove stuff from the start and the end.
If you look in the examples I provided a few little intros to queues that might be helpful :)
As they're still an experiment, you're always welcome to give feedback so we can improve things.
Skript/Server Version
Bug Description
In the description of this expression, it says "Asking for this does not remove the element from the queue." but in the example, it shows adding 2 elements, broadcasting them both, and the queue being empty.
Expected Behavior
N/A
Steps to Reproduce
N/A
Errors or Screenshots
https://skripthub.net/docs/?id=12828
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: