Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Models.history.load();
- API.addEventListener(API.DJ_UPDATE, repeatcheck);
- function repeatcheck(user) {
- var historylist=Models.history.data;
- var currentID=Models.room.data.media.cid;
- for(var j=1; j<50;j++) {
- if (historylist[j].media.cid == currentID) {
- API.sendChat(j);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment