Here is the code I did in Pathfinder for Wayfinder#1. The choice was either for the Scimitar, Cleric Channel Energy, or Skill Knowledge Relgion.
The chooser was:
Code:
<fieldval field="usrCandid1" value="thingid.wScimitar|thingid.cClrChan|thingid.skKnowRel"/>
The Eval script looked like this which should be what you are looking for.
Code:
~Pre-Levels 5,000
~ If we've not chosen anything, get out
doneif (field[usrChosen1].ischosen = 0)
~If scimitar selected make the character proficient
if (field[usrChosen1].chosen.pulltags[thingid.wScimitar] = 1) then
foreach pick in hero where "IsWeapon.wScimitar"
perform eachpick.assign[Broadcast.WepProf]
nexteach
endif
~If Know(Religion) selected make it a class skill
if (field[usrChosen1].chosen.pulltags[thingid.skKnowRel] = 1) then
#makeclassskill[skKnowRel]
endif
~If Channel Energy selected give it a +1 to the DC
if (field[usrChosen1].chosen.pulltags[thingid.cClrChan] = 1) then
#dc[xChannel] += 1
~also add to the DC of our help
#dc[fComUnHelp] += 1
#dc[fTurUnHelp] += 1
endif
The thing is to do the pulltags[] function.