Solution parser python needed

Hi again,
Sorry to keep bugging, but I desperately need a pythonfile to send a solution from a puzzle to a responder as well as a reset.
Trying myself, but can't succeed on my own.
What I need is this:
python file that reads 5 Integer SDL values and compares them with the solution values if all 5 are correct, start solution responder.
This is not an xSimplePanel, so I can't use that (I think).
My SDL variables are called:
R1Pos, R2Pos, R3Pos, R4Pos and R5Pos
The second thing i'd like to do is to reset forementioned SDL variables to zero when the activator buttons have been pressed a number of times.
I monitor this via the SDL Integer variable RButton.
If someone could be so kind as to tell me how to set up the python, I can work out the Alcscript myself.
As usual, thanks in advance.
Sorry to keep bugging, but I desperately need a pythonfile to send a solution from a puzzle to a responder as well as a reset.
Trying myself, but can't succeed on my own.
What I need is this:
python file that reads 5 Integer SDL values and compares them with the solution values if all 5 are correct, start solution responder.
This is not an xSimplePanel, so I can't use that (I think).
My SDL variables are called:
R1Pos, R2Pos, R3Pos, R4Pos and R5Pos
The second thing i'd like to do is to reset forementioned SDL variables to zero when the activator buttons have been pressed a number of times.
I monitor this via the SDL Integer variable RButton.
If someone could be so kind as to tell me how to set up the python, I can work out the Alcscript myself.
As usual, thanks in advance.