I think you misunderstood Cerv...
In his method, you're scanning your paperdoll to look for whatever weapon type. If it doesn't find it on the paperdoll (meaning it broke) it goes into the subroutine to equip a new one. No need to scan the journal at all (which is good, because journal scanning can be QUITE messy and not reliable)
The only edit you'll need to make to Cerv's script is to change the first line to whatever weapon types you need:
set %throwing FID_THY_YND_NND_ ; id types of the weapon
Change to:
set %throwing YSF_ ; id types of the weapon
(Disregard the fact that his variable is called "%throwing", you could simply change all occurrences of that variable in the script to "%weapontypes")
As he said, you may also need to change which hand is being equipped ("event macro 24 2" versus "event macro 24 1") and use #lhandid instead of #rhandid, but that's dependent on which hand the weapon is getting equipped into.
So your final script might look like:
set %weapontypes YSF_ ; id types of the weapon
repeat
finditem %weapontypes C_ , #charID
if #findCnt < 1
gosub equip
wait 1
until #false
sub equip
finditem %weapontypes C_ , #backpackID
{
if #findCnt < 1 ; oops, none in the backpack
halt
}
set #rhandid #findid
event macro 24 2
wait 10
return