viewing paste Unknown #396 | Athena

Posted on the
1 2 3 4 5 6 7 8 9
function    script  Sample  {
setarray .@CardList,4359,4361,4363,4367,4369;
 
for( set .@i,0; .@i < getarraysize( .@CardList ); set .@i,.@i + 1 )
    if( isequippedcnt( .@CardList[.@i] ) )
        set .@Count,.@Count + 1;
 
return .@Count;
}
Viewed 1188 times, submitted by Emistry.