need help understanding code

AWOL:
If the code is correct, then it must be operational - I don't understand the point of your question.

I tried using it but nothing happened.

I expected the message to show but nothing. The laser didn't even blink, I tried it also with an led and same thing.

Maybe there is a mistake of I am missing something, like a on feature.
This is why I need help, if someone could explain the code. When I see arrays and stuff I get confused.