Help on implementing dual wielding

Basically what i want to do is take the stats of the item in players hand, store them, turn those stats into straight bonuses with a formula, store that value too then add those flat bonuses to the player. Is that possible, more importantly, how?
Continue to help post