My story currently has five emotion variables, so I plan on having five different endings for each one of the emotions. Ideally, I want the player to receive the ending for their highest variable. I'm not that good at explaining, but basically what that means is if Variable A is greater than Variables B, C, D, and E (not combined), they get the ending for Variable A. If two of the player's variables are tied, they randomly get one of the two endings. I'm not sure if this is possible or not, but if it is, can someone please script it for me or teach me how to do it myself?
P.S. If I add a random monkey into my otherwise not-related-to-a-jungle-in-any-way story, does that qualify it for the contest?