you should map the visible lines to an array and check every payline tracing on this array for matches.
Thanks so much for your reply brunopalermo.
That makes some sense however when you say "map the visible lines on an array" ...
I've got it so that once it stops spinning I have a value for each symbol in an array that's mapped to the slot machine. I'm not sure how to trace paylines within this array.
Hope that makes sense?
Thanks again.