i know that, im just confused about putting the if statements with the values and making it read the sensors properly
It doesn't sound as if you have any idea where to start. Have you done any coding at all? There are plenty of example sketches that show you how to read switches and turn on lamps and motors that will give you an idea of what the code would look like.
If you're not going to make any serious attempt to do it yourself then you should be posting under Gigs and Collaborations.