Just to check... were you adding that text into one of Invision's files that already have commands, or one of your own that already has an on notice command? If so, that could also be your problem.
Just to add by removing those 2 lines in my post above, you won't get ANY notices at all. You need to have a script to catch the notices in a seperate window.