Another alternative to a function is to use the system condition "pick all". So your event could look like this:
spriteShot: On Colision with spriteEnemy
system: pick all spriteEnemy
---> spriteEnemy Destroy
You know, you'd think I notice something that obvious. If you aren't interested in re-use, that's definitely the most direct method, and less error prone (you can't misspell it) <img src="smileys/smiley1.gif" border="0" align="middle" />