You can use
isequippedcnt
Like this?
{
Id: 2629
AegisName: "Magingiorde"
Name: "Megingjard"
Type: "IT_ARMOR"
Buy: 20
Weight: 8000
Def: 2
Loc: "EQP_ACC"
EquipLv: 94
Refine: false
Script: <"
if (isequippedcnt(2629)<2) {
bonus bStr,40;
bonus bMdef,7;
}
">
},