The full thing in the eval rule should be something like this:
Code:
<evalrule phase="Final" priority="100000" message="You must be proficient in Stealth."><![CDATA[
var SkillSt as number
SkillSt = 0
if (hero.tagis[ProfSkill.skStealth] <> 0)
then SkillSt += 1
endif
if (hero.tagis[ProfDouble.skStealth] <> 0)
then SkillSt += 1
endif
if (SkillSt > 0) then
@valid = 1
if (@valid = 0) then
@message = "You must be proficient in Stealth."
endif
]]></evalrule>