Loading ...
Sorry, an error occurred while loading the content.
 

Obsidian Portal text output sheet

Expand Messages
  • Terry Milnes
    I am trying to make an output sheet for Obsidian Portal as they use non standard code for their character sheets. Would someone help me out as the below is
    Message 1 of 37 , Jun 27, 2010
      I am trying to make an output sheet for Obsidian Portal as they use non
      standard code for their character sheets. Would someone help me out as the
      below is almost correct, but I still get some junk in the text file:

      *|TEXT.TITLECASE.NAME|*
      |GENDER.LONG| |SPACE| |RACE| |SPACE| |FOR,%class,0,COUNT[CLASSES]-1,1,1|
      |IIF(%class:0)| |ELSE| |SPACE| / |SPACE| |ENDIF| |CLASS.%class| |SPACE|
      |CLASS.%class.LEVEL| |ENDFOR||BR|
      |ALIGNMENT| |SPACE| |SIZELONG| |SPACE| |IIF(RACETYPE:None)|
      |TEXT.LOWER.TYPE| |ELSE| |RACETYPE| |ENDIF|
      |IIF(VAR.IF(var("COUNT[RACESUBTYPES]")==0;1;0):1)| |ELSE| |SPACE|
      (|FOR,%subtype,0,COUNT[RACESUBTYPES]-2,1,1| |RACESUBTYPE.%subtype|,|SPACE|
      |ENDFOR| |FOR,%subtype,COUNT[RACESUBTYPES]-1,COUNT[RACESUBTYPES]-1,1,1|
      |RACESUBTYPE.%subtype| |ENDFOR| ) |ENDIF| |BR|
      *Init* |SPACE| |INITIATIVEMOD|, |SPACE| *Senses* |SPACE|
      |FOR,%VisionTest,STRLEN[VISION],STRLEN[VISION],1,0| |IIF(%VisionTest:0)|
      |ELSE| |VISION|, |SPACE| |ENDIF| |ENDFOR| |IIF(GAMEMODE:Pathfinder)|
      Perception |SPACE| |SKILL.Perception.TOTAL.SIGN| |ELSE| Listen |SPACE|
      |SKILL.Listen.TOTAL.SIGN|, |SPACE| Spot |SPACE| |SKILL.Spot.TOTAL.SIGN|
      |ENDIF|
      |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Sense","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|
      ,|SPACE|
      |IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability
      Bonus:Y)|
      |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Bonus|
      |SPACE|
      |ENDIF||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Sense","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|,|SPACE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Sense||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Sense.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Sense.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||BR||IIF(count("ABILITIES";"TYPE=Aura";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Aura*
      |SPACE||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Aura","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Aura","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Aura||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Aura.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Aura.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||ENDIF|
      |FOR,%LanguageTest,STRLEN[LANGUAGES],STRLEN[LANGUAGES],1,0||IIF(%LanguageTest:0)||IIF(count("ABILITIES";"TYPE=Communicate";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Communication*
      |SPACE||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||BR||ENDIF||ELSE|*Languages* |SPACE|
      |LANGUAGES||IIF(count("ABILITIES";"TYPE=Communicate";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|,|SPACE||ENDIF||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Communicate","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate||IIF(ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%specialAbilities.TYPE=Communicate.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||BR||ENDIF||ENDFOR|
      =================================================<br>
      *DEFENSE*<br>
      =================================================<br>
      *AC* |SPACE| |AC.Total|, |SPACE| *Touch* |SPACE| |AC.Touch|, |SPACE|
      *Flat-footed* |SPACE| |AC.Flatfooted||IIF(VAR.UseCombatManueverBonus:1)|,
      |SPACE| *CMD* |SPACE|
      |VAR.(CMB+AC.Touch).INTVAL||ENDIF||FOR,%ACfeats,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=ModifyAC","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|,|SPACE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%ACfeats.TYPE=ModifyAC||IIF(ABILITYALL.Special
      Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability Benefit:Y)||SPACE|
      |ABILITYALL.Special Ability.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||FOR,%ACfeats,0,count("ABILITIES","CATEGORY=Feat","TYPE=ModifyAC","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|,|SPACE||IIF(ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC||IIF(ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%ACfeats.TYPE=ModifyAC.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||BR|
      |IIF(VAR.IF(var("UseAlternateDamage")==0;1;0):1)|*HP* |SPACE| |HP||ELSE|*VP*
      |SPACE| |HP| |SPACE| *WP* |SPACE| |ALTHP||ENDIF||SPACE| (|HITDICE.SHORT|
      HD)|FOR,%DRTest,STRLEN[DR],STRLEN[DR],1,0||IIF(%DRTest:0)||ELSE||SPACE| *DR*
      |SPACE| |DR||ENDIF||ENDFOR||BR|
      *Fort* |SPACE| |CHECK.FORTITUDE.TOTAL|, |SPACE|*Ref* |SPACE|
      |CHECK.REFLEX.TOTAL|, |SPACE|*Will* |SPACE| |CHECK.2.TOTAL||BR|
      |IIF(count("ABILITIES";"TYPE=Immunity";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Immunities*
      |SPACE||FOR,%immunities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Immunity","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Ability Bonus|
      |SPACE||ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Immunity:Y)||ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Immunity||ELSE||ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity||ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%immunities.TYPE=Immunity.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||BR||ENDIF|
      |IIF(count("ABILITIES";"TYPE=Resistance";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Resistances*
      |SPACE||FOR,%resistances,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Resistance","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Ability Bonus|
      |SPACE||ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Resistance:Y)||ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Resistance||ELSE||ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance||ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%resistances.TYPE=Resistance.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||BR||ENDIF|
      |IIF(SR:0)||ELSE|*Spell Resistance* |SPACE| |SR||BR||ENDIF|
      |IIF(count("ABILITIES";"TYPE=Weakness";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Weakness*
      |SPACE||FOR,%weaknesses,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=Weakness","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%weaknesses.TYPE=Weakness.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%weaknesses.TYPE=Weakness.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%weaknesses.TYPE=Weakness||IIF(ABILITYALL.Special
      Ability.VISIBLE.%weaknesses.TYPE=Weakness.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%weaknesses.TYPE=Weakness.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||BR||ENDIF|
      |IIF(VAR.IF(VAR("COUNT[EQTYPE.DefensiveGear]")>0;1;0):1)|*Defensive Gear*
      |SPACE||FOR,%defensiveGear,0,COUNT[EQTYPE.DefensiveGear]-1,1,1|_|TEXT.LOWER.EQ.IS.DefensiveGear.%defensiveGear.NAME|;
      |SPACE| _|ENDFOR||BR||ENDIF|
      =================================================<br>
      *OFFENSE*<br>
      =================================================<br>
      *Speed* |SPACE||FOR,%movement,0,COUNT[MOVE]-1,1,1||IIF(MOVE.0.NAME:Walk)||IIF(MOVE.%movement.NAME:Walk)||MOVE.%movement.RATE|
      |SPACE| (|MOVE.%movement.SQUARES| |SPACE|
      Squares)|ELSE||MOVE.%movement.NAME| |SPACE|
      |MOVE.%movement.RATE||ENDIF||ELSE||MOVE.%movement.NAME| |SPACE|
      |MOVE.%movement.RATE| |SPACE| (|MOVE.%movement.SQUARES| |SPACE|
      Squares)|ENDIF||IIF(MOVE.%movement.NAME:Fly)||SPACE| (|ABILITYALL.Special
      Ability.HIDDEN.0.TYPE=Maneuverability.ASPECT.Maneuverability|)|ENDIF||ENDFOR||FOR,%movementAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=ModifyMovement","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|,|SPACE||IIF(ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement||IIF(ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||FOR,%movementAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=ModifyMovement","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0|,|SPACE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement||IIF(ABILITYALL.Special
      Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%movementAbilities.TYPE=ModifyMovement.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||FOR,%weap,0,COUNT[EQTYPE.Weapon]-1,1,0||BR|
      |IIF(WEAPON.%weap.ISTYPE.Ranged)|*Ranged* |SPACE||ELSE|*Melee*
      |SPACE||ENDIF|_|TEXT.TITLECASE.WEAPON.%weap.NAME.NOSTAR|_
      |SPACE||IIF(WEAPON.%weap.BASEHIT:N/A)|(2H) |SPACE| |WEAPON.%weap.THHIT|
      |SPACE| ((2H) |SPACE|
      |WEAPON.%weap.THDAMAGE||FOR,%CritTest,STRLEN[WEAPON.%weap.CRIT],STRLEN[WEAPON.%weap.CRIT],1,0||IIF(%CritTest:2)||ELSE|/|WEAPON.%weap.CRIT||ENDIF||ENDFOR||IIF(WEAPON.%weap.MULT:2)||ELSE|/x|WEAPON.%weap.MULT||ENDIF|)|ELSE||WEAPON.%weap.BASEHIT|
      |SPACE||IIF(WEAPON.%weap.ISTYPE.Ranged)|(|WEAPON.%weap.RANGELIST.0.DAMAGE||ELSE|(|WEAPON.%weap.DAMAGE||ENDIF||FOR,%CritTest,STRLEN[WEAPON.%weap.CRIT],STRLEN[WEAPON.%weap.CRIT],1,0||IIF(%CritTest:2)||ELSE|/|WEAPON.%weap.CRIT||ENDIF||ENDFOR||IIF(WEAPON.%weap.MULT:2)||ELSE|/x|WEAPON.%weap.MULT||ENDIF|)|ENDIF||ENDFOR||BR|
      *Face* |SPACE| |FACE| |SPACE| *Reach* |SPACE| |REACH||BR|
      *Base |SPACE| Atk* |SPACE| |ATTACK.MELEE.BASE|,
      |SPACE||IIF(VAR.UseCombatManueverBonus:1)|*CMB* |SPACE|
      |VAR.CMB.INTVAL.SIGN||ELSE|*Grp*
      |SPACE||IIF(VAR.IF(var("CanNotGrapple")==0;1;0):1)||VAR.(STR+BAB+(SIZE-4)+(SIZE-4)+(SIZE-4)+(SIZE-4)+(ATTACK.GRAPPLE.MISC)).INTVAL.SIGN||ELSE|--|ENDIF||ENDIF||IIF(count("ABILITIES";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||BR|
      *Atk |SPACE| Options*
      |SPACE||IIF(count("ABILITIES";"CATEGORY=Feat";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||IIF(count("ABILITIES";"CATEGORY=Feat";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>1)||FOR,%attackOptions,0,count("ABILITIES","CATEGORY=Feat","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-2,1,0||IIF(ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption||IIF(ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||ENDIF||FOR,%attackOptions,count("ABILITIES","CATEGORY=Feat","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,count("ABILITIES","CATEGORY=Feat","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Bonus|
      |SPACE||ENDIF||ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption||IIF(ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Benefit:Y)||SPACE|
      |ABILITYALL.Feat.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||ENDIF||IIF(count("ABILITIES";"CATEGORY=Feat";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|,|SPACE||ENDIF||ENDIF||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>1)||FOR,%attackOptions,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-2,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption||IIF(ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||ENDIF||FOR,%attackOptions,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=AttackOption","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption||IIF(ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%attackOptions.TYPE=AttackOption.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||ENDIF||ENDIF||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=SpecialAttack";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=AttackOption";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY"))||BR|
      *Special |SPACE| Actions*|SPACE||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=SpecialAttack";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=SpecialAttack";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>1)||FOR,%specialActions,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialAttack","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-2,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.TYPE:AttackOption)||ELSE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDIF||ENDFOR||ENDIF||FOR,%specialActions,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialAttack","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialAttack","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.TYPE:AttackOption)||ELSE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialActions.TYPE=SpecialAttack.ASPECT.Ability
      Benefit||ENDIF||ENDIF||ENDFOR||ENDIF||ENDIF||IIF(VAR.IF(VAR("COUNT[EQTYPE.OffensiveGear]")>0;1;0):1)||BR|
      *Offensive Gear*
      |SPACE||IIF(VAR.IF(VAR("COUNT[EQTYPE.OffensiveGear]")>1;1;0):1)||FOR,%offensiveGear,0,COUNT[EQTYPE.OffensiveGear]-2,1,1|_|EQ.IS.OffensiveGear.%offensiveGear.NAME|,_
      |SPACE||ENDFOR||ENDIF||FOR,%offensiveGear,COUNT[EQTYPE.OffensiveGear]-1,COUNT[EQTYPE.OffensiveGear]-1,1,1|_|EQ.IS.OffensiveGear.%offensiveGear.NAME|_|ENDFOR||ENDIF||BR|
      |FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,0||IIF(SPELLLISTMEMORIZE.%class:false)||BR|
      *Known |SPACE| |SPELLLISTCLASS.%class| |SPACE| Spells* |SPACE| (CL |SPACE|
      |SPELLLISTCLASS.%class.LEVEL||TEXT.NUMSUFFIX.SPELLLISTCLASS.%class.LEVEL|):|FOR,%level,0,9,1,1||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.0.%level]")>0;1;0):1)||SPACE|
      |%level||TEXT.NUMSUFFIX.%level| |SPACE| -
      |SPACE||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.0.%level]")>1;1;0):1)||FOR,%spell,0,COUNT[SPELLSINBOOK.%class.0.%level]-2,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.0.%level.%spell.NAME|_|IIF(SPELLMEM.%class.0.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.0.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.0.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.0.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE| |SPELLMEM.%class.0.%level.%spell.DC|)|ENDIF||ENDIF|,
      |SPACE||ENDFOR||ENDIF||FOR,%spell,COUNT[SPELLSINBOOK.%class.0.%level]-1,COUNT[SPELLSINBOOK.%class.0.%level]-1,1,0||SPELLMEM.%class.0.%level.%spell.BONUSSPELL|_|TEXT.TITLECASE.SPELLMEM.%class.0.%level.%spell.NAME|_|IIF(SPELLMEM.%class.0.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.0.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.0.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.0.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE|
      |SPELLMEM.%class.0.%level.%spell.DC|)|ENDIF||ENDIF||ENDFOR|;|ENDIF||ENDFOR||ENDIF||ENDFOR||FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0||IIF(SPELLBOOK.%spellbook.TYPE:Prepared
      Spell
      List)||FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-1,1,0||IIF(SPELLLISTMEMORIZE.%class:true)||BR|
      *|SPELLBOOKNAME.%spellbook|:* |SPACE||SPELLLISTCLASS.%class| (CL |SPACE|
      |SPELLLISTCLASS.%class.LEVEL||TEXT.NUMSUFFIX.SPELLLISTCLASS.%class.LEVEL|):|FOR,%level,0,9,1,1||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>0;1;0):1)||SPACE|
      |%level||TEXT.NUMSUFFIX.%level| |SPACE| -
      |SPACE||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>1;1;0):1)||FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_|IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|)|ENDIF||ENDIF|,
      |SPACE||ENDFOR||ENDIF||FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0||SPELLMEM.%class.%spellbook.%level.%spell.BONUSSPELL|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_|IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE|
      |SPELLMEM.%class.%spellbook.%level.%spell.DC|)|ENDIF||ENDIF||ENDFOR|;|ENDIF||ENDFOR||ENDIF||ENDFOR||ELSE||ENDIF||ENDFOR||%DOMAIN.1||BR|
      *: |SPACE| Domain |SPACE| spell. |SPACE| *Deity:* |SPACE| |DEITY|. |SPACE|
      Domains:|FOR.1,COUNT[DOMAINS]+1,1,\DOMAIN.%\,
      ,NONE,1||%||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.1.0]")>0;1;0):1)||BR|
      *Innate |SPACE| Spell-Like |SPACE| Abilities:*
      |SPACE||FOR,%spellbook,1,1,1,0||FOR,%class,0,0,1,0||FOR,%level,0,0,1,0||%SPELLLISTBOOK.%class.%level.%spellbook||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>1;1;0):1)||FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_
      |SPACE|
      (|IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)|DC
      |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|,
      |SPACE||ENDIF||ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At
      Will)|at |SPACE| will),
      |SPACE||ELSE||SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|),
      |SPACE||ENDIF||ENDFOR||ENDIF||FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_
      |SPACE|
      (|IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)|DC
      |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|,
      |SPACE||ENDIF||ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At
      Will)|at |SPACE| will),
      |SPACE||ELSE||SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|);|ENDIF||ENDFOR||%||ENDFOR||ENDFOR||ENDFOR||ENDIF||FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0||IIF(SPELLBOOK.%spellbook.TYPE:Innate
      Spell
      List)||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.0.%spellbook.0]")>0;1;0):1)||BR|
      *|SPELLBOOK.%spellbook.NAME| |SPACE| Spell-Like |SPACE| Abilities:*
      |SPACE||FOR,%class,0,0,1,0||FOR,%level,0,0,1,0||%SPELLLISTBOOK.%class.%level.%spellbook||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>1;1;0):1)||FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_
      |SPACE|
      (|IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)|DC
      |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|,
      |SPACE||ENDIF||ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At
      Will)|at |SPACE|
      will)|ELSE||SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|),
      |SPACE||ENDIF||ENDFOR||ENDIF||FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_
      |SPACE|
      (|IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)|DC
      |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|,
      |SPACE||ENDIF||ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:At
      Will)|at |SPACE|
      will)|ELSE||SPELLMEM.%class.%spellbook.%level.%spell.TIMES|/|SPELLMEM.%class.%spellbook.%level.%spell.TIMEUNIT|),
      |SPACE||ENDIF||ENDFOR||%||ENDFOR||ENDFOR||ENDIF||ENDIF||ENDFOR||BR|
      =================================================<br>
      *STATISTICS*<br>
      =================================================<br>
      *Abilities*
      |SPACE||FOR,%stat,0,COUNT[STATS]-2,1,1||TEXT.TITLECASE.STAT.%stat.NAME|
      |SPACE| |STAT.%stat|,
      |SPACE||ENDFOR||FOR,%stat,COUNT[STATS]-1,COUNT[STATS]-1,1,1||TEXT.TITLECASE.STAT.%stat.NAME|
      |SPACE| |STAT.%stat||ENDFOR||BR|
      |IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=SpecialQuality";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)|*Special
      |SPACE| Qualities* |SPACE||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"TYPE=SpecialQuality";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>1)||FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialQuality","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-2,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability
      Benefit||ENDIF|,|SPACE||ENDFOR||ENDIF||FOR,%specialAbilities,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialQuality","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,count("ABILITIES","CATEGORY=Special
      Ability","TYPE=SpecialQuality","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability
      Bonus:Y)||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability Bonus|
      |SPACE||ENDIF||ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality||IIF(ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.HASASPECT.Ability
      Benefit:Y)||SPACE| |ABILITYALL.Special
      Ability.VISIBLE.%specialAbilities.TYPE=SpecialQuality.ASPECT.Ability
      Benefit||ENDIF||ENDFOR||BR||ENDIF|
      |%COUNT[SA]|*Special Abilities* |SPACE| |SPECIALLIST||BR|
      |%|*Feats* |SPACE| |FEATALLLIST||BR|
      *Skills*
      |SPACE||IIF(VAR.IF(VAR("COUNT[SKILLS]")>1;1;0):1)||FOR,%skill,0,COUNT[SKILLS]-2,1,0||IIF(VAR.IF(var("SKILL.%skill.TOTAL")==0;1;0):1)||ELSE||SKILL.%skill|
      |SPACE| |SKILL.%skill.TOTAL.INTVAL.SIGN|,
      |SPACE||ENDIF||ENDFOR||ENDIF||FOR,%skill,COUNT[SKILLS]-1,COUNT[SKILLS]-1,1,0||IIF(VAR.IF(var("SKILL.%skill.TOTAL")==0;1;0):1)||ELSE||SKILL.%skill|
      |SPACE| |SKILL.%skill.TOTAL.INTVAL.SIGN||ENDIF||ENDFOR||BR|
      *Possessions*
      |SPACE||IIF(VAR.IF(VAR("COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]")>0;1;0):1)||IIF(VAR.IF(VAR("COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]")>1;1;0):1)||FOR,%equip,0,COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]-2,1,1||IIF(EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.QTY.INTVAL:1)||EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME|,
      |SPACE||ELSE||EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME|
      |SPACE| (x|EQ.NOT.Contained.NOT.CONTAINER.NOT.Natural.%equip.QTY.INTVAL|),
      |SPACE||ENDIF||ENDFOR||ENDIF||FOR,%equip,COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]-1,COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]-1,1,1||IIF(EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.QTY.INTVAL:1)||EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME|,
      |SPACE||ELSE||EQ.NOT.CONTAINED.NOT.Container.NOT.Natural.%equip.NAME|
      |SPACE|
      (x|EQ.NOT.Contained.NOT.CONTAINER.NOT.Natural.%equip.QTY.INTVAL|)|ENDIF||ENDFOR||ENDIF||IIF(VAR.IF(VAR("COUNT[CONTAINERS]")>0;1;0):1)||IIF(VAR.IF(VAR("COUNT[EQUIPMENT.NOT.Contained.NOT.Container.NOT.Natural]")>0;1;0):1)|,
      |SPACE||ENDIF||IIF(VAR.IF(VAR("COUNT[CONTAINERS]")>1;1;0):1)||FOR,%container,0,COUNT[CONTAINERS]-2,1,1||EQ.IS.Container.%container.NAME||IIF(EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL:0)||SPACE|
      [ _Empty_ ], |SPACE||ELSE||SPACE|
      [|IIF(VAR.IF(VAR("EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL")>1;1;0):1)||FOR,%equip,0,EQ.IS.Container.%container.CONTENTSNUM-2,1,1||IIF(EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL:1)|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|_|ELSE|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|
      |SPACE|
      (x|EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL|)_|ENDIF|,|SPACE||ENDFOR||ENDIF||FOR,%equip,EQ.IS.Container.%container.CONTENTSNUM-1,EQ.IS.Container.%container.CONTENTSNUM-1,1,1||IIF(EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL:1)|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|_|ELSE|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|
      |SPACE|
      (x|EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL|)_|ENDIF||ENDFOR|],
      |SPACE||ENDIF||ENDFOR||FOR,%container,COUNT[CONTAINERS]-1,COUNT[CONTAINERS]-1,1,1||EQ.IS.Container.%container.NAME||IIF(EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL:0)||SPACE|
      [ _Empty_ ]|ELSE||SPACE|
      [|IIF(VAR.IF(VAR("EQ.IS.Container.%container.CONTENTSNUM.QTY.INTVAL")>1;1;0):1)||FOR,%equip,0,EQ.IS.Container.%container.CONTENTSNUM-2,1,1||IIF(EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL:1)|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|_|ELSE|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|
      |SPACE|
      (x|EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL|)_|ENDIF|,|SPACE||ENDFOR||ENDIF||FOR,%equip,EQ.IS.Container.%container.CONTENTSNUM-1,EQ.IS.Container.%container.CONTENTSNUM-1,1,1||IIF(EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL:1)|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|_|ELSE|_|EQ.IS.Container.%container.CONTENTS.%equip.NAME|
      |SPACE|
      (x|EQ.IS.Container.%container.CONTENTS.%equip.QTY.INTVAL|)_|ENDIF||ENDFOR|]|ENDIF||ENDFOR||FOR,%spellbook,2,COUNT[SPELLBOOKS]-1,1,0||IIF(SPELLBOOK.%spellbook.TYPE:Spell
      Book)||BR|
      *|SPELLBOOKNAME.%spellbook|*
      |SPACE||FOR,%class,COUNT[SPELLRACE],COUNT[SPELLRACE]+COUNT[CLASSES]-2,1,1||IIF(SPELLLISTMEMORIZE.%class:false)||ELSE||FOR,%level,0,9,1,1||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>0;1;0):1)||%level||TEXT.NUMSUFFIX.%level|
      |SPACE| -
      |SPACE||IIF(VAR.IF(VAR("COUNT[SPELLSINBOOK.%class.%spellbook.%level]")>1;1;0):1)||FOR,%spell,0,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-2,1,0|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_|IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE| |SPELLMEM.%class.%spellbook.%level.%spell.DC|)|ENDIF||ENDIF|,
      |SPACE||ENDFOR||ENDIF||FOR,%spell,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,COUNT[SPELLSINBOOK.%class.%spellbook.%level]-1,1,0||SPELLMEM.%class.%spellbook.%level.%spell.BONUSSPELL|_|TEXT.TITLECASE.SPELLMEM.%class.%spellbook.%level.%spell.NAME|_|IIF(SPELLMEM.%class.%spellbook.%level.%spell.TIMES:1)||ELSE||SPACE|
      (|SPELLMEM.%class.%spellbook.%level.%spell.TIMES|)|ENDIF||IIF(SPELLMEM.%class.%spellbook.%level.%spell.SAVEINFO:None)||ELSE||IIF(VAR.IF(VAR("SPELLMEM.%class.%spellbook.%level.%spell.DC")>0;1;0):1)||SPACE|
      (DC |SPACE|
      |SPELLMEM.%class.%spellbook.%level.%spell.DC|)|ENDIF||ENDIF||ENDFOR||ENDIF||ENDFOR||ENDIF||ENDFOR||ENDIF||ENDFOR||IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>0)||BR|
      =================================================<br>
      *SPECIAL ABILITIES*<br>
      =================================================<br>
      |IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY";"TYPE=AbilityBonus")>0)|*Ability
      |SPACE| Bonuses:*
      |SPACE||FOR,%allAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:AbilityBonus)||ABILITYALL.Special
      Ability.VISIBLE.%allAbilities| |SPACE||ENDIF||ENDFOR||BR||ENDIF|
      |IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY";"TYPE=FavoredClass")>0)|*Favored
      |SPACE| Classes:*
      |SPACE||FOR,%allAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:FavoredClass)||ABILITYALL.Special
      Ability.VISIBLE.%allAbilities| |SPACE||ENDIF||ENDFOR||BR||ENDIF|
      |IIF(count("ABILITIES";"CATEGORY=Special
      Ability";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")>count("ABILITIES";"CATEGORY=Special
      Ability";"VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY";"TYPE=FavoredClass[or]TYPE=AbilityBonus"))||BR|
      |FOR,%allAbilities,0,count("ABILITIES","CATEGORY=Special
      Ability","VISIBILITY=DEFAULT[or]VISIBILITY=OUTPUT_ONLY")-1,1,0||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:AbilityBonus)||ELSE||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:FavoredClass)||ELSE|*|ABILITYALL.Special
      Ability.VISIBLE.%allAbilities||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:Extraordinary)||SPACE|
      (Ex)|ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:Supernatural)||SPACE|
      (Su)|ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:SpellLike)||SPACE|
      (Sp)|ENDIF||IIF(ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.TYPE:PsiLike)||SPACE| (Ps)|ENDIF|* |SPACE|
      _[|ABILITYALL.Special Ability.VISIBLE.%allAbilities.SOURCE|]_ |SPACE|
      |ABILITYALL.Special
      Ability.VISIBLE.%allAbilities.DESC||BR||ENDIF||ENDIF||ENDFOR||ENDIF||ENDIF|
      |IIF(var("COUNT[FEATSALL.VISIBLE]")>0)||BR|
      |IIF(var("COUNT[FEATSAUTO.VISIBLE]")>0)||FOR,%feat,0,COUNT[FEATSAUTO.VISIBLE]-1,1,0|*|FEATAUTO.VISIBLE.%feat|*
      |SPACE| _[|FEATAUTO.VISIBLE.%feat.SOURCE|]_ |SPACE|
      |FEATAUTO.VISIBLE.%feat.DESC||BR||ENDFOR||ENDIF|
      |IIF(var("COUNT[FEATS.VISIBLE]")>0)||FOR,%feat,0,COUNT[FEATS.VISIBLE]-1,1,0|*|FEAT.VISIBLE.%feat|*
      |SPACE| _[|FEAT.VISIBLE.%feat.SOURCE|]_ |SPACE|
      |FEAT.VISIBLE.%feat.DESC||BR||ENDFOR||ENDIF||ENDIF|
      _Created using PCGen |EXPORT.VERSION| on |EXPORT.DATE|_

      Thanks!

      BTW, For bold code they use "*" and for italics it is "_" like html where
      you have those characters at the front and back of a block of text.


      [Non-text portions of this message have been removed]
    • David R. Bender
      thanks, will do... -- david Papa.DRB My better half and me (jpg) Love Me If You Can by Toby Keith
      Message 37 of 37 , May 28, 2011
        thanks, will do...

        -- david
        Papa.DRB

        My better half and me (jpg)
        <http://mysite.verizon.net/vze16ni4g/Nana-and-Papa2.JPG>
        Love Me If You Can by Toby Keith (video)
        <http://www.youtube.com/watch?v=_Qu7jGYzS_A>

        Madness takes its toll - please have exact change.
        For those who believe, no proof is necessary, for those who don't
        believe, no proof is possible. (Stuart Chase 1888-1985)

        On 5/28/2011 3:04 PM, Andrew wrote:
        > Hi,
        >
        > Take a look at the csheet plain... it doesn't use any of those full counts. Just lots of |FOR| tags.
        >
        >
        > On 5/28/2011 11:05 AM, David R. Bender wrote:
        >> Unfortunately nope... I'll wait till James has some time to look at it,
        >> thanks...
        >>
        >> -- david
        >> Papa.DRB
        >>
        >> My better half and me (jpg)
        >> <http://mysite.verizon.net/vze16ni4g/Nana-and-Papa2.JPG>
        >> Love Me If You Can by Toby Keith (video)
        >> <http://www.youtube.com/watch?v=_Qu7jGYzS_A>
        >>
        >> Madness takes its toll - please have exact change.
        >> For those who believe, no proof is necessary, for those who don't
        >> believe, no proof is possible. (Stuart Chase 1888-1985)
        >>
        >> On 5/28/2011 1:44 PM, Andrew wrote:
        >>> Hi,
        >>>
        >>> That would be these entries:
        >>>
        >>> |FOR,%specialAbilities,0,count("ABILITIES","CATEGORY=Feat","TYPE=Sense","VISIBILITY=DEFAULT.or.VISIBILITY=OUTPUTONLY")-1,1,0|,|SPACE|
        >>>
        >>> and if those are now acting up, then we'll need to consult James.
        >>>
        >>> I could be wrong but the '.or.' might be better used as '[OR]'
        >>>
        >>> Try changing it to that.
        >>>
        >>> On 5/28/2011 9:19 AM, David R. Bender wrote:
        >>>> I am using PCGen 5.17.6 with the Pathfinder datasets. Trying to export
        >>>> to the Obsidian Portal text sheet, and getting the following error:
        >>>>
        >>>> 12:15:05.852 SEVERE AWT-EventQueue-0 CountCommand:232 Bad paramter to
        >>>> count("Ability"), no such Visibility DEFAULT.or.VISIBILITY
        >>>>
        >>>> for all of those count lines. I have looked but I can't figure out what
        >>>> to change the line to so it works......
        >>>>
        >>>> Help!
        >> ------------------------------------
        >>
        >> Related Lists
        >> PCGen's release site: http://pcgen.sourceforge.net
        >> PCGen's Wiki: http://wiki.pcgen.org/
        >> PCGen's Roadmap: http://wiki.pcgen.org/index.php?title=Roadmap
        >> PCGen's alpha build: http://pcgen.sourceforge.net/07_autobuilds.php
        >> PCGen's Online Docs: http://pcgen-test.org/autobuilds/pcgen-docs/index.html
        >> PCGen's Backup Autobuilds and Docs: http://pcgen.akozakis.id.au/autobuilds/download.html
        >>
        >> PCGen List File Help: http://tech.groups.yahoo.com/group/PCGenListFileHelp/
        >> (for assistance in creating new homebrew or official list files)
        >>
        >> PCGen Experimental: http://tech.groups.yahoo.com/group/pcgen_experimental/
        >> (for new official data source development)
        >> Yahoo! Groups Links
        >>
        >>
        >>
        >>
      Your message has been successfully submitted and would be delivered to recipients shortly.