Advertisement
Index154

jackboxcode

Nov 1st, 2019
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. note = "input is the query entered by the user following the command";
  2.  
  3. id = 0;
  4.  
  5. upnext = "Check if the input is one of the available numbers and change the id accordingly";
  6. if(input == 1){id = 331670}
  7. if(input == 2){id = 397460}
  8. if(input == 3){id = 434170}
  9. if(input == 4){id = 610180}
  10. if(input == 5){id = 774461}
  11. if(input == 6){id = 1005300}
  12.  
  13. upnext = "Combine the different parts into one String";
  14. out = "Party Pack " + input + ": steam://run/" + id;
  15.  
  16. upnext = "Check if the id has been changed. If not then replace the output String with an error message";
  17. if(id == 0){
  18. out = "Error: No valid input detected. Please make sure you include the number of the Pack you want to play."
  19. }
  20.  
  21. upnext = "Output";
  22. out;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement