Hey @Stripy Raccoon!
First you need to create a Pastebin with your messages, like so:
[
"MESSAGE_ONE",
"MESSAGE_TWO",
"MESSAGE_THREE",
"MESSAGE_FOUR",
"MESSAGE_FIVE",
"MESSAGE_SIX"
]
If you need to includes double quotes (") in your messages, you need to escape them (\"):
"Potato said \"if the messages don't fit in the limit for the command tell me and I can tell you how to make a pastebin for it\" and is now giving us work because he didn't give an example back then. :p"
Then you only need to edit the second part of the command, like this:
$(eval p = $(urlfetch json https://pastebin.com/raw/XXXXXXXX); a = `$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(query))`; M = `$(2)`; M === `One` ? p[0] : M === `Two` ? p[1] : M === `Three` ? p[2] : M === `Four` ? p[3] : M === `Five` ? p[4] : M === `Six` ? p[5] : ` `;)
Don't forget to replace XXXXXXXX with your paste ID.