Also decided to check to make sure they have the martial weapon proficiency. So, code, final version for elf is:
Code:
~ If you're an elf you're proficient with Elven weapons.
var israce as number
var hasfeat as number
israce = tagis[Race.Elf]
hasfeat = #hasfeat[fWepMart] + #hasfeat[fMartial]
if (israce > 0 ) then
if (hasfeat > 0) then
perform hero.assign[WepProf.wThinBlade]
perform hero.assign[WepProf.wLightBld]
perform hero.assign[WepProf.wDoubleBow]
endif
endif
Again, haven't tested it but it should work.