Scripting question

On the heels if my revaluation I have a question: any way to have a script run when I choose a specific player? Like isgabber runs when that person interacts. I figured isactive would do this, but does not.
0