Gator Rush Introduction, Gold Rush, Lake Michigan, Glacier Park SquadX Event, Glacier Park Tiger Tonic Event, Lake Michigan by Night, Gator Rush Main Event, Glacier Park, Bayou, Lake Michigan Endurfix Event
];a[Math.floor(Math.random() * a.length)]
I have multiple commands to pull from the associated lists.
Is it possible to create a command that would pull one random list item from all lists?
9 replies
Polar Cat
Hey @Rapid Dolphin!
Yes, and given how your Pastebins are set, you would go like this for example:
So the every raw link needs to be used twice if I read that correctly?
Rapid Dolphin
I see what you meant. I guess I need to clarify. I have multiple pastes including individual lists. What I want is a single result, randomly picked from multiple pastes if possible.
Still assuming your first Pastebin uses a , the second uses b , the third c , etc.
Rapid Dolphin
Thank you but I dont understand this part:
r=[a,b,c];
in reference to my links
Polar Cat
Polar Cat said: Assuming your first Pastebin uses a, the second uses b, the third c, etc.
Your first Pastebin link must use the variable a, your second one must use the variable b, the third one must use the variable c, etc... r=[a,b,c] combines all the random outputs from your various pastes, and then we pick a random output out of these. If you have more than 3 pastes, add d, e, etc. I can't be clearer than this.
If you still don't understand, we'll do it my way, I tried to adapt my code to your pastes, but you're going to have to update your pastes to reflect my code, just so we get a clean and clear code.
Your Pastebin should look like this, nothing more: