Paladin macro question

So fairly new to wow and I’m trying to set up a macro for my Paladin. Ideally I want to be able to cast judgement and immediately cast seal of righteousness after judgment hits. I’m not the best with macros so any help would be great.

Here’s a macro I use that judges a target and casts seal of righteousness:

#showtooltip Judgement
/cast judgement
/stopcasting
/cast Seal of Righteousness

So I typed that in exactly like that in general macros. Named it judgement and for some reason it didn’t work I tried in specific macros as well. Am I typing that in exactly how you typed it?