viewing paste Unknown #30150 | Text

Posted on the
1 2 3 4 5 6 7 8 9
-   script  Sample  -1,{
setarray .@Map$[0],"prtg_cas01","prtg_cas02";
 
OnPCKillEvent:
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 919 times, submitted by Guest.