SHOW:
|
|
- or go back to the newest paste.
| 1 | - | function StripOne(one) {Replace=one.replace("@","");Output=Replace.toLowerCase();return Output};
|
| 1 | + | one=query[0]; |
| 2 | two=query[2]; | |
| 3 | - | function StripTwo(two) {Replace=two.replace("@","");Output=Replace.toLowerCase();return Output};
|
| 3 | + | three=query[4]; |
| 4 | four=query[6]; | |
| 5 | - | function StripThree(three) {Replace=three.replace("@","");Output=Replace.toLowerCase();return Output};
|
| 5 | + | five=query[8]; |
| 6 | Test=query[100]; | |
| 7 | - | function StripFour(four) {Replace=four.replace("@","");Output=Replace.toLowerCase();return Output};
|
| 7 | + | |
| 8 | if(one!=Test) | |
| 9 | - | function StripFive(five) {Replace=five.replace("@","");Output=Replace.toLowerCase();return Output};
|
| 9 | + | {function StripOne(one) {Replace=one.replace("@","");Output=Replace.toLowerCase();return Output}}
|
| 10 | else | |
| 11 | {function StripOne(one) {Output="";return Output}};
| |
| 12 | ||
| 13 | if(two!=Test) | |
| 14 | {function StripTwo(two) {Replace=two.replace("@","");Output=Replace.toLowerCase();return Output}}
| |
| 15 | else | |
| 16 | {function StripTwo(two) {Output="";return Output}};
| |
| 17 | ||
| 18 | if(three!=Test) | |
| 19 | {function StripThree(three) {Replace=three.replace("@","");Output=Replace.toLowerCase();return Output}}
| |
| 20 | else | |
| 21 | {function StripThree(three) {Output="";return Output}};
| |
| 22 | ||
| 23 | if(four!=Test) | |
| 24 | {function StripFour(four) {Replace=four.replace("@","");Output=Replace.toLowerCase();return Output}}
| |
| 25 | else | |
| 26 | {function StripFour(four) {Output="";return Output}};
| |
| 27 | ||
| 28 | if(five!=Test) | |
| 29 | {function StripFive(five) {Replace=five.replace("@","");Output=Replace.toLowerCase();return Output}}
| |
| 30 | else | |
| 31 | {function StripFive(five) {Output="";return Output}};
| |
| 32 | ||
| 33 | YesNo1=query[1]; | |
| 34 | YesNo2=query[3]; | |
| 35 | YesNo3=query[5]; | |
| 36 | YesNo4=query[7]; | |
| 37 | YesNo5=query[9]; | |
| 38 | - | if(one=="null"){FinalMessage="Nobody D:"}
|
| 38 | + | |
| 39 | a=StripOne(one); | |
| 40 | - | if(two=="null"){FinalMessage=a2+" you can check the multi here: https://multistre.am/"+channel+"/"+a}
|
| 40 | + | |
| 41 | c=StripThree(three); | |
| 42 | - | if(three=="null"){FinalMessage=a2+" and "+b2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b}
|
| 42 | + | |
| 43 | e=StripFive(five); | |
| 44 | - | if(four=="null"){FinalMessage=a2+", "+b2+", and "+c2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c}
|
| 44 | + | |
| 45 | b1=""; | |
| 46 | - | if(five=="null"){FinalMessage=a2+", "+b2+", "+c2+", and "+d2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c+"/"+d}
|
| 46 | + | |
| 47 | - | else{FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c+"/"+d+"/"+e};
|
| 47 | + | |
| 48 | e1=""; | |
| 49 | ||
| 50 | for(i=0;i<=Names.length&&a!=Names[i];i=Math.floor(i+2)){a1+=0};
| |
| 51 | for(i=0;i<=Names.length&&b!=Names[i];i=Math.floor(i+2)){b1+=0};
| |
| 52 | for(i=0;i<=Names.length&&c!=Names[i];i=Math.floor(i+2)){c1+=0};
| |
| 53 | for(i=0;i<=Names.length&&d!=Names[i];i=Math.floor(i+2)){d1+=0};
| |
| 54 | for(i=0;i<=Names.length&&e!=Names[i];i=Math.floor(i+2)){e1+=0};
| |
| 55 | ||
| 56 | if(a1.length==Math.floor(Names.length/2+1)){a2="@"+a}else{a2=Names[Math.floor(a1.length*2+1)]};
| |
| 57 | ||
| 58 | if(b1.length==Math.floor(Names.length/2+1)){b2="@"+b}else{b2=Names[Math.floor(b1.length*2+1)]};
| |
| 59 | ||
| 60 | if(c1.length==Math.floor(Names.length/2+1)){c2="@"+c}else{c2=Names[Math.floor(c1.length*2+1)]};
| |
| 61 | ||
| 62 | if(d1.length==Math.floor(Names.length/2+1)){d2="@"+d}else{d2=Names[Math.floor(d1.length*2+1)]};
| |
| 63 | ||
| 64 | if(e1.length==Math.floor(Names.length/2+1)){e2="@"+e}else{e2=Names[Math.floor(e1.length*2+1)]};
| |
| 65 | ||
| 66 | Stream=""; | |
| 67 | ||
| 68 | if(YesNo1=="1") | |
| 69 | {Stream+="/"+a};
| |
| 70 | if(YesNo2=="1") | |
| 71 | {Stream+="/"+b};
| |
| 72 | if(YesNo3=="1") | |
| 73 | {Stream+="/"+c};
| |
| 74 | if(YesNo4=="1") | |
| 75 | {Stream+="/"+d};
| |
| 76 | if(YesNo5=="1") | |
| 77 | {Stream+="/"+e};
| |
| 78 | ||
| 79 | if(a=="") | |
| 80 | {FinalMessage="Nobody :/"}
| |
| 81 | else | |
| 82 | if(b=="") | |
| 83 | {if(YesNo1!="1")
| |
| 84 | {FinalMessage=a2}
| |
| 85 | else | |
| 86 | {FinalMessage=a2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
| |
| 87 | else | |
| 88 | if(c=="") | |
| 89 | {if(YesNo1!="1"&&YesNo2!="1")
| |
| 90 | {FinalMessage=a2+" and "+b2}
| |
| 91 | else | |
| 92 | {FinalMessage=a2+" and "+b2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
| |
| 93 | else | |
| 94 | if(d=="") | |
| 95 | {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1")
| |
| 96 | {FinalMessage=a2+", "+b2+", and "+c2}
| |
| 97 | else | |
| 98 | {FinalMessage=a2+", "+b2+", and "+c2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
| |
| 99 | else | |
| 100 | if(e=="") | |
| 101 | {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1"&&YesNo4!="1")
| |
| 102 | {FinalMessage=a2+", "+b2+", "+c2+", and "+d2}
| |
| 103 | else | |
| 104 | {FinalMessage=a2+", "+b2+", "+c2+", and "+d2+" you can check the multi here: https://multistre.am/"+channel+Stream}}
| |
| 105 | else | |
| 106 | {if(YesNo1!="1"&&YesNo2!="1"&&YesNo3!="1"&&YesNo4!="1"&&YesNo5!="1")
| |
| 107 | {FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2}
| |
| 108 | else | |
| 109 | {FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2+" you can check the multi here: https://multistre.am/"+channel+Stream}};
| |
| 110 | ||
| 111 | FinalMessage |