I want to have a timer that will do things at different times like say for example


if(timer==50) {
LaserForceOn 1
} else if(timer==30) {
LaserForceOn 0
}

^ Thats just an example on what i want to do, Does anyone know how to do it? I'm stumped