Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- note = "input is the query entered by the user following the command";
- id = 0;
- upnext = "Check if the input is one of the available numbers and change the id accordingly";
- if(input == 1){id = 331670}
- if(input == 2){id = 397460}
- if(input == 3){id = 434170}
- if(input == 4){id = 610180}
- if(input == 5){id = 774461}
- if(input == 6){id = 1005300}
- upnext = "Combine the different parts into one String";
- out = "Party Pack " + input + ": steam://run/" + id;
- upnext = "Check if the id has been changed. If not then replace the output String with an error message";
- if(id == 0){
- out = "Error: No valid input detected. Please make sure you include the number of the Pack you want to play."
- }
- upnext = "Output";
- out;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement