something like this ?
prontera,155,181,5 script Sample 45,{
if( @Count < 300 ){
dispbottom "Killed "+@Count+"/300 Poring.";
}
warp "prontera",155,181;
end;
OnNPCKillEvent:
if( killedrid == 1002 && @Count < 300 ){
set @Count,@Count + 1;
dispbottom "Killed "+@Count+"/300 Poring.";
}
end;
}
if you want the kill count saved even after they logout...then change
@Count
to
Count // Character based
or
#Count // Account based