Help with script to map delete key to Might Mouse

I am trying to write a script so I can map the delete key to a mouse click. I would sure appreciate some help!!

Thanks!