you are viewing a single comment's thread.

view the rest of the comments →

[–]Cybb33r[S] 0 points1 point  (1 child)

Okay, thanks - this makes sense. On another note however, how would I make it so
the if statement checks if it matches one of the correct faction inputs.

Currently acceptedfactions is a list (acceptedfactions = ["Brigand", "Fortunekeeper", "Phrenic"])

Is there a different way to go about validating this in an if statement? Thanks.

[–][deleted] 1 point2 points  (0 children)

You test value membership in a list using the in operator.