viewing paste Unknown #24761 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-       script  killing -1,{
OnPCKillEvent:
        set .@counttopunish, 3; // 3 times kill in same minute = OUT
        if ( killedrid == getcharid(3) ) end;
        attachrid killedrid;
        .@charid = getcharid(0);
        attachrid killerrid;
        setd "@count"+ gettime(2) +"_"+ killedrid, getd( "@count"+ gettime(2) +"_"+ killedrid ) +1;
        if ( getd( "@count"+ gettime(2) +"_"+ killedrid ) < .@counttopunish )
                getitem2 7420, 1,1,0,0, 254, 0, .@charid % pow(2,16), .@charid / pow(2,16);
        else {
                announce strcharinfo(0) +", Stop killing "+ rid2name(killedrid) +" !!!", 0;
                warp "Save", 0,0;
        }
        end;
}
Viewed 608 times, submitted by unknown.