Ignore notification clicks in ASOC app?

Is it possible to make my app not relaunch when a user clicks a notification? I’ve tried implementing the AppleScript applet code on macosxautomation.com, but I can’t get it to work in the app. Is there a cocoa method I should be implementing? I tried playing around with the user notification delegate methods, but I don’t understand enough to get it to do anything. Any insight would be greatly appreciated.