Like this? set the name of item you want to restrict.
// ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
1229,Mama's_Knife,Kitchen Knife,4,20,,500,75,,1,0,0x028F5EEE,7,2,2,4,36,1,1,{ bonus bCritical,30; bonus3 bAddMonsterDropItem,517,RC_Brute,5000; },{},{}
1230,House_Auger,Ice Pick,4,20,,600,80,,1,0,0x028F5EEE,7,2,2,4,36,1,1,{ bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; },{},{}
setarray .@restricted$[0], "Kitchen Knife", "Ice Pick";
for ( .@i = 0; .@i < getarraysize(.@restricted$); .@i++ ) {
if ( getequipname(3) == .@restricted$[.@i] && getequipname(4) == .@restricted$[.@i] ) {
nude;
message strcharinfo(0), "You cannot use 2 same weapons at the same time";
end;
}
}
end;