@neofax - I just added another damage variable for "firstAttack" and "firstDamage".
In Pathfinder Smite works differently than 3.5 it is not just a base increase of 1 per level. Yes, you could just double the damage if the creature was a Outsider/Undead or Dragon.
Holy Smokes! Smite Evil is waaay better in Pathfinder. That would be more of a mod for Pathfinder rather than going in the attack options. It would have to check the target, bump AC based on target (not really feasible in current framework) and adjust damage based on target type, character level and charisma. I'm not sure the AC bonus is appropriate (something similar to Dispel Evil), but I may just have to adopt this for a 3.5 game. I've always been disappointed in the way 3.5 handled smite.
Actually, check out how Rage is handled. Lindsay has a table called SYSVARS IIRC that when the Attack input is brought up the last couple attack options change based on system. So, you could have a smite option for both and it would automatically load the Active Mod for smite changing the AC, adding the attack value and damage as well. My thing is you as the DM could just change the damage value to double if it met any of the criteria of Outisder/Dragon/Undead and Evil.
Also, Lindsay I missed my opportunity for this one, but could you look at adding the capability of addin a negative value in the HP Damage macro that kicks off if the creature has DR/ER. This way the player would see the -55 damage he hit with but if the creature was Vunerable to cold I could then say -40 more due to the vulnerability. This way the player has no clue as to why the creature is more damaged, it could be that the weapon was slashing or holy or whatever.