scriptJob and object deletion

Trying to create a script that runs when an object is deleted.
Basically the script checks an attribute on an object and either deletes it if the attribute doens't exist or runs through a script and then deletes it if it does. I'm having problems creating a scriptJob that runs when an object is deleted.
This has to be for all objects not just a single one so I can't use a scriptNode. Also has to work with the Delete button not as a seperate button the artist presses. Essentially replacing Maya's delete button.

I'm using the following scriptJob but it isn't doing anything

scriptJob -ct "delete" radDelete;

and the following script

global proc radDelete()
{

you can write a small proc that is executed everytime the selection changes. This script has to try to select the previously seleced object. If an object was deleted then the script fails and you can use catch to detect this.

//I