Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Is Red Card supposed to trigger even if the Pokemon holding it is behind a sub? I've used a Slurpuff set relying on this, and, at one point, Pokemon Showdown had this stop working, and later, it seems that it suddenly started working again, so I'm not sure what the actual in-game behavior is.