Closed mikegaidin closed 10 years ago
yes there is a way to force people to join it.
change
if (firstOnly != 1 && queueListLength !== 0)
on line 2906 of the reference script
to
if (firstOnly != 1)
also comment out
if (queueList.length !== 0)
on line 2878 along with the two brackets that go with it so that people get a message stating why they are being kicked off when they try to join the stage.
glad you like the bot :D, let me know if this works for you i haven't tested it but it should work.
omg, thank you so much. It looks like it's working perfectly.
Just a thought, would it be possible to exclude those on the masterID list? or at least the bot?
give this a try. try changing
if (firstOnly != 1)
from the above example to
if (firstOnly != 1 && masterIds.indexOf(data.user[0].userid) == -1 && data.user[0].userid != USERID)
what this means roughly is, if user getting on stage is not first in the queue, they are not in the masterid's list, and they are not the bot then execute the code inside. which means removing them from stage.
You nailed it again. Thanks!
Is it possible to force people to join the queue before DJing? I'd like it so people have to join rather than just hop up, regardless of available spots. This is a great bot, btw. Thanks for providing it.