I know i should probably be using switch statements but I couldn’t get them to work even in my own text editor so I started off with if statements just to get the logic down.
I got it working now. Not exactly sure what the problem was but when I made certain changes to the code it worked. I also swapped in my switch statements to make it a bit better.