I managed to pull some examples out of the help file, and this is what you found as well:
$IF ($Race($Target())=="Elf")
{
$RETURN true;
}
$ELSE
{
$RETURN false;
};
(or more simply $RETURN ($Race($Target())=="Elf")
Also, from the help file under "character attributes",
Race Values:
0=Human, 1=Elf, 2=Dwarf, 3=Gnome, 4=HalfElf, 5=Halfling
Not sure what you are trying to do (if I knew more I might be able to help more), but hope this helps some.
ST
ps, questions like this and your "cracking the code" on ASLs makes me want to take up the "guide" gauntlet again