Logged In: YES
user_id=34901

I'd need a better idea what you want that to do (delete is
obvious), but I'm not really sure what you want "replace"
to do (what happens with USEd nodes, for instance).
Anyway, if you want to build it, feel free, I'm open to
submissions (and short on time :-/ ).