viewing paste Unknown #30151 | Text

Posted on the
1 2 3 4 5 6 7 8
-   script  Sample  -1,{
OnPCKillEvent:
setarray .@Map$[0],"prtg_cas01","prtg_cas02";
for( set .@i,0; .@i < getarraysize( .@Map$ ); set .@i,.@i + 1 )
if( strcharinfo(3) == .@Map$[.@i] ) {
  announce "["+strcharinfo(0)+"] has killed ["+rid2name(killedrid)+"] in "+strcharinfo(3),0; break; }
end;
}
Viewed 830 times, submitted by Guest.