Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on=query[0];tw=query[2];th=query[4];fo=query[6];fi=query[8];si=query[10];se=query[12];ei=query[14];ni=query[16];te=query[18];el=query[20];twe=query[22];Te=query[100];
- if(on!=Te)
- {function StOn(on) {Replace=on.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StOn(on) {Output="";return Output}};
- if(tw!=Te)
- {function StTw(tw) {Replace=tw.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StTw(tw) {Output="";return Output}};
- if(th!=Te)
- {function StTh(th) {Replace=th.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StTh(th) {Output="";return Output}};
- if(fo!=Te)
- {function StFo(fo) {Replace=fo.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StFo(fo) {Output="";return Output}};
- if(fi!=Te)
- {function StFi(fi) {Replace=fi.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StFi(fi) {Output="";return Output}};
- if(si!=Te)
- {function StSi(si) {Replace=si.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StSi(si) {Output="";return Output}};
- if(se!=Te)
- {function StSe(se) {Replace=se.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StSe(se) {Output="";return Output}};
- if(ei!=Te)
- {function StEi(ei) {Replace=ei.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StEi(ei) {Output="";return Output}};
- if(ni!=Te)
- {function StNi(ni) {Replace=ni.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StNi(ni) {Output="";return Output}};
- if(te!=Te)
- {function StTe(te) {Replace=te.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StTe(te) {Output="";return Output}};
- if(el!=Te)
- {function StEl(el) {Replace=el.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StEl(el) {Output="";return Output}};
- if(twe!=Te)
- {function StTwe(twe) {Replace=twe.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StTwe(twe) {Output="";return Output}};
- YN1=query[1];
- YN2=query[3];
- YN3=query[5];
- YN4=query[7];
- YN5=query[9];
- YN6=query[11];
- YN7=query[13];
- YN8=query[15];
- YN9=query[17];
- YN10=query[19];
- YN11=query[21];
- YN12=query[23];
- a=StOn(on);
- b=StTw(tw);
- c=StTh(th);
- d=StFo(fo);
- e=StFi(fi);
- f=StSi(si);
- g=StSe(se);
- h=StEi(ei);
- j=StNi(ni);
- k=StTe(te);
- l=StEl(el);
- m=StTwe(twe);
- a1="";b1="";c1="";d1="";e1="";f1="";g1="";h1="";j1="";k1="";l1="";m1="";
- for(i=0;i<=Names.length&&a!=Names[i];i=Math.floor(i+2)){a1+=0};
- for(i=0;i<=Names.length&&b!=Names[i];i=Math.floor(i+2)){b1+=0};
- for(i=0;i<=Names.length&&c!=Names[i];i=Math.floor(i+2)){c1+=0};
- for(i=0;i<=Names.length&&d!=Names[i];i=Math.floor(i+2)){d1+=0};
- for(i=0;i<=Names.length&&e!=Names[i];i=Math.floor(i+2)){e1+=0};
- for(i=0;i<=Names.length&&f!=Names[i];i=Math.floor(i+2)){f1+=0};
- for(i=0;i<=Names.length&&g!=Names[i];i=Math.floor(i+2)){g1+=0};
- for(i=0;i<=Names.length&&h!=Names[i];i=Math.floor(i+2)){h1+=0};
- for(i=0;i<=Names.length&&j!=Names[i];i=Math.floor(i+2)){j1+=0};
- for(i=0;i<=Names.length&&k!=Names[i];i=Math.floor(i+2)){k1+=0};
- for(i=0;i<=Names.length&&l!=Names[i];i=Math.floor(i+2)){l1+=0};
- for(i=0;i<=Names.length&&m!=Names[i];i=Math.floor(i+2)){m1+=0};
- if(a1.length==Math.floor(Names.length/2+1)){a2=a}else{a2=Names[Math.floor(a1.length*2+1)]};
- if(b1.length==Math.floor(Names.length/2+1)){b2=b}else{b2=Names[Math.floor(b1.length*2+1)]};
- if(c1.length==Math.floor(Names.length/2+1)){c2=c}else{c2=Names[Math.floor(c1.length*2+1)]};
- if(d1.length==Math.floor(Names.length/2+1)){d2=d}else{d2=Names[Math.floor(d1.length*2+1)]};
- if(e1.length==Math.floor(Names.length/2+1)){e2=e}else{e2=Names[Math.floor(e1.length*2+1)]};
- if(f1.length==Math.floor(Names.length/2+1)){f2=f}else{f2=Names[Math.floor(f1.length*2+1)]};
- if(g1.length==Math.floor(Names.length/2+1)){g2=g}else{g2=Names[Math.floor(g1.length*2+1)]};
- if(h1.length==Math.floor(Names.length/2+1)){h2=h}else{h2=Names[Math.floor(h1.length*2+1)]};
- if(j1.length==Math.floor(Names.length/2+1)){j2=j}else{j2=Names[Math.floor(j1.length*2+1)]};
- if(k1.length==Math.floor(Names.length/2+1)){k2=k}else{k2=Names[Math.floor(k1.length*2+1)]};
- if(l1.length==Math.floor(Names.length/2+1)){l2=l}else{l2=Names[Math.floor(l1.length*2+1)]};
- if(m1.length==Math.floor(Names.length/2+1)){m2=m}else{m2=Names[Math.floor(m1.length*2+1)]};
- Str="";
- Str2="";
- ctStr=0;
- if(YN1=="1"){ctStr+=1};
- if(YN2=="1"){ctStr+=1};
- if(YN3=="1"){ctStr+=1};
- if(YN4=="1"){ctStr+=1};
- if(YN5=="1"){ctStr+=1};
- if(YN6=="1"){ctStr+=1};
- if(YN7=="1"){ctStr+=1};
- if(YN8=="1"){ctStr+=1};
- if(YN9=="1"){ctStr+=1};
- if(YN10=="1"){ctStr+=1};
- if(YN11=="1"){ctStr+=1};
- if(YN12=="1"){ctStr+=1};
- ct1=ctStr/2;
- ct2=0;
- MaxMulti=6;
- if(YN1=="1"){Str+="/"+a;ct2+=1;};
- if(YN2=="1"){if(ctStr<MaxMulti){Str+="/"+b}else{if(ct2<ct1){Str+="/"+b;ct2+=1;}else{Str2+="/"+b}}};
- if(YN3=="1"){if(ctStr<MaxMulti){Str+="/"+c}else{if(ct2<ct1){Str+="/"+c;ct2+=1;}else{Str2+="/"+c}}};
- if(YN4=="1"){if(ctStr<MaxMulti){Str+="/"+d}else{if(ct2<ct1){Str+="/"+d;ct2+=1;}else{Str2+="/"+d}}};
- if(YN5=="1"){if(ctStr<MaxMulti){Str+="/"+e}else{if(ct2<ct1){Str+="/"+e;ct2+=1;}else{Str2+="/"+e}}};
- if(YN6=="1"){if(ctStr<MaxMulti){Str+="/"+f}else{if(ct2<ct1){Str+="/"+f;ct2+=1;}else{Str2+="/"+f}}};
- if(YN7=="1"){if(ctStr<MaxMulti){Str+="/"+g}else{if(ct2<ct1){Str+="/"+g;ct2+=1;}else{Str2+="/"+g}}};
- if(YN8=="1"){if(ctStr<MaxMulti){Str+="/"+h}else{if(ct2<ct1){Str+="/"+h;ct2+=1;}else{Str2+="/"+h}}};
- if(YN9=="1"){if(ctStr<MaxMulti){Str+="/"+j}else{if(ct2<ct1){Str+="/"+j;ct2+=1;}else{Str2+="/"+j}}};
- if(YN10=="1"){if(ctStr<MaxMulti){Str+="/"+k}else{if(ct2<ct1){Str+="/"+k;ct2+=1;}else{Str2+="/"+k}}};
- if(YN11=="1"){if(ctStr<MaxMulti){Str+="/"+l}else{if(ct2<ct1){Str+="/"+l;ct2+=1;}else{Str2+="/"+l}}};
- if(YN12=="1"){if(ctStr<MaxMulti){Str+="/"+m}else{if(ct2<ct1){Str+="/"+m}else{Str2+="/"+m}}};
- if(Str==""){Multilink=". There's no multi at the moment!"}
- else{if(Str2==""){Multilink=". You can check the multi here: https://multistre.am/"+channel+Str}else{Multilink=". You can check the multis here: https://multistre.am/"+channel+Str+" and https://multistre.am/"+channel+Str2}};
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+", "+g2+", "+h2+", "+j2+", "+k2+", "+l2+" and "+m2+Multilink;
- if(m=="")
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+", "+g2+", "+h2+", "+j2+", "+k2+" and "+l2+Multilink;
- if(l=="")
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+", "+g2+", "+h2+", "+j2+" and "+k2+Multilink;
- if(k=="")
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+", "+g2+", "+h2+" and "+j2+Multilink;
- if(j=="")
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+", "+g2+" and "+h2+Multilink;
- if(h=="")
- FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+", "+f2+" and "+g2+Multilink;
- if(g=="")
- {FinalMessage=a2+", "+b2+", "+c2+", "+d2+", "+e2+" and "+f2+Multilink};
- if(f=="")
- {FinalMessage=a2+", "+b2+", "+c2+", "+d2+" and "+e2+Multilink};
- if(e=="")
- {FinalMessage=a2+", "+b2+", "+c2+" and "+d2+Multilink};
- if(d=="")
- {FinalMessage=a2+", "+b2+" and "+c2+Multilink};
- if(c=="")
- {FinalMessage=a2+" and "+b2+Multilink};
- if(b=="")
- {FinalMessage=a2+Multilink};
- if(a=="")
- {FinalMessage="his hands! There's no multi at the moment, but you can see his hands occasionally on the stream!"};
- FinalMessage
Add Comment
Please, Sign In to add comment