Event-like condition checking?

I was looking through the library guide and wasn't sure where to look but I looked under some of the categories but no luck. This is what I am looking for:

Let's say someone selects a face on a poly. I want to be running a script that listens for like a poly component selection. I scripted in other programs like Flash and Director and they have events like "on mouseClick { ...statements... }" for example (it doesn't look exactly like that in the other software but you get the idea wink).

Any ideas? Thanks!

Look in the documentation for scriptJobs. I have never had the time to experiment with them, but I believe that is what you need.