Using what u had above, I wasn't going anywhere. So I decide to use the Equip Last Weapon. I use this in game build in macro lot. Using the event 24 it just cycle the same weapon. I try to add an ignoreitem, but I fail. So here what I had to offer.
IF you need a third weapon, u will need to set the next weapon.
set %weapon NSF ; Double axe
while #true
{
gosub CheckWeapon
if #RESULT #TRUE
{
event macro 37
}
}
;-------------------------------------------------------------------------------
sub CheckWeapon
set #RESULT #FALSE
finditem %weapon C_ , #CHARID
for #FINDINDEX 1 #FINDCNT
{
event property #FINDID
set %string durability , #SPC , 0
; set %string durability , #SPC , 10
if %string in #PROPERTY
{
set #RESULT #true
return #RESULT
break
}
}
return