not sure will this work exactly like what you want or not...
function script Sample {
if( isequippedcnt( 4357,4359,4361,4363,4365,4367 ) > 2 ){
message strcharinfo(0),"Cant Wear More than 2 LHZ Card.";
nude;
}
return;
}
Add this in your OnEquip there..
callfunc( "Sample" );
Re-Edit : Simple and Working Function