Help regarding onCollisuon functions

Let onCollision() = some script

If the sphero were to collide the second time I want it to execute a different script, how do I achieve this?

SPHERO Email Marketing -