Advertisement
T98

Autojoin Test Thing

T98
Dec 6th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. API.on(API.ADVANCE, autojoin);
  2. function autojoin() {
  3.     var dj = API.getDJ();
  4.     setTimeout(function(){
  5.         if (dj == null || API.getWaitListPosition() <= -1){
  6.             $('#dj-button').click();
  7.         }
  8.     },400);
  9. }
  10. autojoin();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement