MV SRD Timed Attack prevent Secondary Effects on failure

I am working on a game that uses SRD’s Timed Attacks. There are certain skills that I made with certain secondary effects, like defense drops and inflicting silent. The problem: whenever I fail the prompt, there is no damage, but the attack still inflicts the secondary effect when I don’t want it to. Is there a notes command or something extra that would prevent both no damage AND no secondary effect on failure?
This thread was moved from RPG Maker MV Support to JavaScript/Plugin Support.

Original thread: https://forums.rpgmakerweb.com/threads/srd-timed-attack-prevent-secondary-effects-on-failure.178034/