How would I add another event to this code?

We all know that, including the OP. Unlike the rest of us, though, he doesn’t seem to be bothered by that fact. He appears to be living in some kind of weird, time-warp place (a digital Brigadoon, perhaps) where coding styles are archaic and mobiles are insignificant.

We’ve tried to rescue him from that plight, but seem unable to reach him. Maybe it’s some kind of force field…