Thanks, dungeonguru. That got me on the right track. I had to do a little bit of tweaking to get it to work since clicking the mainhand and offhand check boxes would cause the size to increase by 2 more to 4, which is "guargantuan". I added a check step to only make the change if "gSize" had not already been increased. I also increased the weapon size to automatically match the size of the creature.
Code:
var size as number
if (hero.tagis[Size.Large] <> 0) then
size = 1
elseif (hero.tagis[Size.Huge] <> 0) then
size = 2
elseif (hero.tagis[Size.Gargantuan] <> 0) then
size = 3
endif
foreach pick in hero from BaseWep where "!wGroup.Natural"
if (eachpick.field[gSize].value = 0) then
eachpick.field[gSize].value += size
endif
nexteach