Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Count=a[a.length-1].split(" ");
- Counts=Count[0];
- y="";
- if(parseInt(Counts)!=parseInt(Counts)+0)
- {Counts=0}
- else
- {Counts=Counts};
- TimerCurrent=parseInt(Count[1]);
- if(Time.toLowerCase()=="channel is not live")
- {Timer=99999999;
- Counter=0}
- else
- {x=Time.split(/\s[a-z]+(\s|\x0)/g);
- for(i=0;i<x.length;i++)
- {if(parseInt(x[i])<10)
- {y+="0"+x[i]}
- else
- {y+=x[i]}};
- z=y.replace(/\s/g,"");
- Timer=parseInt(z);
- Counter=Counts};
- if(Timer<TimerCurrent)
- {Counter=0}
- else
- {Counter=Counter}
Add Comment
Please, Sign In to add comment