CameronFitzy

Na js

Dec 14th, 2021 (edited)
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FirstCheck=Q[1];
  2. Amount=Q[2];
  3. Message=Q[3];
  4.  
  5. if(FirstCheck==`FirstUse`&&a.split(`/`)[0].includes(`Success`))
  6. {O=`Command has been setup properly if you have any questions or come across errors feel free to message me via discord PotatoAteHer#0007`};
  7.  
  8. if(Message==`FirstF`&&a.split(`/`)[1].includes(`Success`))
  9. {O=`${u} your name has been put into the list successfully your streak will start when you join input command during future streams.`};
  10.  
  11. if(Message==`FirstS`&&a.split(`/`)[1].includes(`Success`))
  12. {O=`${u} your name has been put into the list and your streak is now 1.`};
  13.  
  14. if(Message==`Plus`&&a.split(`/`)[1].includes(`Success`))
  15. {O=`Hi ${u}! You have a streak of ${Amount} streams!`};
  16.  
  17. if(Message==`Stay`)
  18. {O=`${u} your current streak is ${Amount}`};
  19.  
  20. if(Message==`Error`)
  21. {O=`There was an error fetching the data for the command please try to use it again`};
  22.  
  23. if(Message.includes(`ResOne`)&&a.split(`/`)[1].includes(`Success`))
  24. {O=`Oh no! ${u} your streak was reset to 1 from ${Message.split(`ResOne`)[0]} after missing ${Message.split(`ResOne`)[1]} stream${parseInt(Message.split(`ResOne`)[1])==1?``:`s`}.`};
  25.  
  26. if(Message.includes(`Reset`)&&a.split(`/`)[1].includes(`Success`))
  27. {O=`Oh no! ${u} you lost your streak of ${Message.split(`Reset`)[0]} after missing ${Message.split(`Reset`)[1]} streams.`};
  28.  
  29. if(Message.includes(`ReOne`)&&a.split(`/`)[1].includes(`Success`))
  30. {O=`Oh no! ${u} you lost your streak of ${Message.split(`ReOne`)[0]} after missing ${Message.split(`ReOne`)[1]} stream.`};
  31.  
  32. if(Message!=`Stay`&&FirstCheck!=`FirstUse`&&!a.split(`/`)[1].includes(`Success`))
  33. {O=`Uh oh there was an error if this continues to happen please show this to PotatoAteHer#0007 on discord.`};
  34.  
  35. O
Add Comment
Please, Sign In to add comment