Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- one=query[0];
- two=query[2];
- three=query[4];
- four=query[6];
- five=query[8];
- Test=query[100];
- if(one!=Test)
- {function StripOne(one) {Replace=one.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StripOne(one) {Output="";return Output}};
- if(two!=Test)
- {function StripTwo(two) {Replace=two.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StripTwo(two) {Output="";return Output}};
- if(three!=Test)
- {function StripThree(three) {Replace=three.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StripThree(three) {Output="";return Output}};
- if(four!=Test)
- {function StripFour(four) {Replace=four.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StripFour(four) {Output="";return Output}};
- if(five!=Test)
- {function StripFive(five) {Replace=five.replace("@","");Output=Replace.toLowerCase();return Output}}
- else
- {function StripFive(five) {Output="";return Output}};
- YesNo1=query[1];
- YesNo2=query[3];
- YesNo3=query[5];
- YesNo4=query[7];
- YesNo5=query[9];
- a=StripOne(one);
- b=StripTwo(two);
- c=StripThree(three);
- d=StripFour(four);
- e=StripFive(five);
- a1="";
- b1="";
- c1="";
- d1="";
- e1="";
- 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};
- 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)]};
- Stream="";
- if(YesNo1=="1")
- {Stream+="/"+a};
- if(YesNo2=="1")
- {Stream+="/"+b};
- if(YesNo3=="1")
- {Stream+="/"+c};
- if(YesNo4=="1")
- {Stream+="/"+d};
- if(YesNo5=="1")
- {Stream+="/"+e};
- if(a=="")
- {FinalMessage="Nobody :/"}
- else
- if(b=="")
- {if(YesNo1!="1")
- {FinalMessage=a2}
- else
- {FinalMessage=a2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
- else
- if(c=="")
- {if(YesNo1!="1"&&YesNo2!="1")
- {FinalMessage=a2+" and "+b2}
- else
- {FinalMessage=a2+" and "+b2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
- else
- if(d=="")
- {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1")
- {FinalMessage=a2+", "+b2+", and "+c2}
- else
- {FinalMessage=a2+", "+b2+", and "+c2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
- else
- if(e=="")
- {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1"&&YesNo4!="1")
- {FinalMessage=a2+", "+b2+", "+c2+", and "+d2}
- else
- {FinalMessage=a2+", "+b2+", "+c2+", and "+d2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
- else
- {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1"&&YesNo4!="1"&&YesNo5!="1")
- {FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2}
- else
- {FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2+" you can check the multi here: https://multistre.am/"+channel+Stream}};
- FinalMessage
Add Comment
Please, Sign In to add comment