Python script: check costum propertie's

Hello.

I’ve a question: I’m only familiar to the game logic bricks in bge, but when you have too many its getting unclear. So i search for an script that can do this:

-when property “prop” equals 0 than…
-when property “prop” equals 1 than…
-…

etc.

I’m not so familiar to python, so it would be very nice if somebody give me a good script for that idea. I understand the very basics of python so i know what i have to change, for an other name (or property) and i know what i have to copy if i would make more…

Thank you very much! Sorry for the english, i’m Dutch… :smiley:

Kind regards,
Marijn