FFXIV Random Message Generator

Hey all,

This is a message generator that forms a random message to a user using 3 arrays and using one piece from each array. Depending on the first and then second selection, it will slice the arrays to randomly pick the next part of the message from an appropriate selection. This took me a good few hours over a couple of afternoons, my main problem was slicing correctly, accidentally used python syntax a few times!

It uses two functions, with one creating a message and a second which gets called too within the first, which selects a random index from the array / sliced array and returns the string at that element. The messages are based on Final Fantasy XIV, I did intend on separating the tank/healer/dps message for more randomness, but I want some practice using the OR syntax.

Github - Mixed Messages