- script Sample#skull -1,{ OnPCKillEvent: // Max Skull 'drop' by each players set .@MaxSkull,3; // Store how many player data set .@MaxPlayer,3; if ( pvp_skull_limit_day != atoi( gettimestr("%Y%m%d", 9) ) ) { pvp_skull_limit_day = atoi( gettimestr("%Y%m%d", 9) ); for( .@i = 1; .@i <= .@MaxPlayer; .@i++ ){ setd( "pvp_skull_"+.@i ),0; setd( "pvp_skull_"+.@i+"_collect" ),0; } } if ( killedrid != getcharid(3) ) for( .@i = 1; .@i <= .@MaxPlayer; .@i++ ){ if( getd( "pvp_skull_"+.@i ) == killedrid && getd( "pvp_skull_"+.@i+"_collect" ) >= .@MaxSkull ) end; if( ( getd( "pvp_skull_"+.@i ) == killedrid || getd( "pvp_skull_"+.@i ) == 0 ) && getd( "pvp_skull_"+.@i+"_collect" ) < .@MaxSkull ){ if( getd( "pvp_skull_"+.@i ) == 0 ) setd( "pvp_skull_"+.@i ),killedrid; setd( "pvp_skull_"+.@i+"_collect" ),getd( "pvp_skull_"+.@i+"_collect" ) + 1; getnameditem( 7420,rid2name( killedrid ) ); //dispbottom "Gained "+getd( "pvp_skull_"+.@i+"_collect" )+" / "+.@MaxSkull+" Skulls"; end; } } end; }