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
this is the simplest way possible, put this code in the registered event for people to be added to the queue when they enter the room if they are not already in the queue. however this does not do checks for if their banned for djing like /addme does and you have to add extra code to make it toggleable by command.
//if not in queue already, add to queueif(queueList.indexOf(data.user[0].userid)===-1){queueList.push(data.user[0].name,data.user[0].userid);queueName.push(data.user[0].name);}
this is the simplest way possible, put this code in the registered event
for people to be added to the queue when they enter the room if they are
not already in the queue. however this does not do checks for if their
banned for djing like /addme does and you have to add extra code to make it
toggleable by command.
//if not in queue already, add to queue
if(queueList.indexOf(data.user[0].userid) === -1){
queueList.push(data.user[0].name, data.user[0].userid);
queueName.push(data.user[0].name);}
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-18815130
.
How to Automatically add someone to the q when they enter?
The text was updated successfully, but these errors were encountered: