If the userID is in the wait list, it returns their position (0 index - so 0 means first position). Returns -1 if they're not in the wait list. If you do not pass a userID, it uses the logged in user ID.


  • Avatar

    Not sure if it's intended or not, but when calling this from within the "API.USER_LEAVE" Event, Regardless of if they were in the wait list or not prior to leaving, this function always returns -1 on their user ID. Is this intended? If so how Can i go about requesting a feature change so it returns their wait list index before disconnection occured. (or -1 if they weren't in the wait list, obviously)

  • Avatar
    Gareth C

    @skintkingle Wouldn't you just keep track of the waitlist yourself?

Powered by Zendesk