Making a new function

I want to make a new function, but I want this function to act the same as OnCollisionEnter. How do I do this?

I was going to use SendMessage and wanted to have several different things happening, until I realized that I also have to set the receiver.