If you are running the script that uses the /notice command, alter your script to use .notice and add an .echo $active

The / means that the message being sent out is shown in the default location, the status window. The . means that the message is quieted (not shown anywhere). By adding the .echo $active You will see the message that is being sent by the .notice command in the active window (be it channel, pm, status,etc.).