Just thought id say, I didnt even do it ascomplexly as "if ($+(a,%s1) == $+(a,%s2))" i just went
IF (x %s1 == x %s2)