CameronFitzy

MultiStream

Aug 28th, 2020 (edited)
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function StripOne(one) {Replace=one.replace("@","");Output=Replace.toLowerCase();return Output};
  2.  
  3. function StripTwo(two) {Replace=two.replace("@","");Output=Replace.toLowerCase();return Output};
  4.  
  5. function StripThree(three) {Replace=three.replace("@","");Output=Replace.toLowerCase();return Output};
  6.  
  7. function StripFour(four) {Replace=four.replace("@","");Output=Replace.toLowerCase();return Output};
  8.  
  9. function StripFive(five) {Replace=five.replace("@","");Output=Replace.toLowerCase();return Output};
  10.  
  11. a=StripOne(one);
  12. b=StripTwo(two);
  13. c=StripThree(three);
  14. d=StripFour(four);
  15. e=StripFive(five);
  16. a1="";
  17. b1="";
  18. c1="";
  19. d1="";
  20. e1="";
  21.  
  22. for(i=0;i<=Names.length&&a!=Names[i];i=Math.floor(i+2)){a1+=0};
  23. for(i=0;i<=Names.length&&b!=Names[i];i=Math.floor(i+2)){b1+=0};
  24. for(i=0;i<=Names.length&&c!=Names[i];i=Math.floor(i+2)){c1+=0};
  25. for(i=0;i<=Names.length&&d!=Names[i];i=Math.floor(i+2)){d1+=0};
  26. for(i=0;i<=Names.length&&e!=Names[i];i=Math.floor(i+2)){e1+=0};
  27.  
  28. if(a1.length==Math.floor(Names.length/2+1)){a2="@"+a}else{a2=Names[Math.floor(a1.length*2+1)]};
  29.  
  30. if(b1.length==Math.floor(Names.length/2+1)){b2="@"+b}else{b2=Names[Math.floor(b1.length*2+1)]};
  31.  
  32. if(c1.length==Math.floor(Names.length/2+1)){c2="@"+c}else{c2=Names[Math.floor(c1.length*2+1)]};
  33.  
  34. if(d1.length==Math.floor(Names.length/2+1)){d2="@"+d}else{d2=Names[Math.floor(d1.length*2+1)]};
  35.  
  36. if(e1.length==Math.floor(Names.length/2+1)){e2="@"+e}else{e2=Names[Math.floor(e1.length*2+1)]};
  37.  
  38. if(one=="null"){FinalMessage="Nobody D:"}
  39. else
  40. if(two=="null"){FinalMessage=a2+" you can check the multi here: https://multistre.am/"+channel+"/"+a}
  41. else
  42. if(three=="null"){FinalMessage=a2+" and "+b2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b}
  43. else
  44. if(four=="null"){FinalMessage=a2+", "+b2+", and "+c2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c}
  45. else
  46. if(five=="null"){FinalMessage=a2+", "+b2+", "+c2+", and "+d2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c+"/"+d}
  47. else{FinalMessage=a2+", "+b2+", "+c2+", "+d2+", and "+e2+" you can check the multi here: https://multistre.am/"+channel+"/"+a+"/"+b+"/"+c+"/"+d+"/"+e};
  48.  
  49. FinalMessage
Add Comment
Please, Sign In to add comment