Richard,
A cat knows what "Fuck off" means; they just choose to ignore you.
The key to spraying is to stop it before it ever starts by having them neutered before they come into maturity. If a male cat starts spraying and is then neutered it is far more likely to continue post-op.