viewing paste Unknown #20141 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
OnPCKillEvent:
        getmapxy @map$,@x,@y,0;
        if (@map$ == "guild_vs3") {         
            //dispbottom    "You have killed "+rid2name(killedrid);     
            set #TotalDeaths, 0;
            set #KillStreak, #KillStreak + 1;
            set #TotalKills, #TotalKills + 1;           
            //dispbottom    "Your kill streak: "+#KillStreak;
            if (#KillStreak > #LongStreak) {
            set #LongStreak, #KillStreak;
            }
            set #DyingStreak, 0;
            if (#KillStreak == 1) announce  strcharinfo(0)+" killed "+rid2name(killedrid)+".",bc_map,0x800000;
            if (#KillStreak == 2) announce  strcharinfo(0)+" just got DOUBLE KILL.",bc_map,0x800000;
            if (#KillStreak == 3) announce  strcharinfo(0)+" just got TRIPLE KILL.",bc_map,0x800000;
            if (#KillStreak == 4) announce  strcharinfo(0)+" is on KILLING SPREE.",bc_all,0x800000;
            if (#KillStreak == 5) announce  strcharinfo(0)+" is DOMINATING.",bc_all,0x800000;
            if (#KillStreak == 6) announce  strcharinfo(0)+" is on a MEGA KILL.",bc_all,0x800000;
            if (#KillStreak == 7) announce  strcharinfo(0)+" is UNSTOPPABLE.",bc_all,0x800000;
            if (#KillStreak == 8) announce  strcharinfo(0)+" is WICKED SICK.",bc_all,0x800000;
            if (#KillStreak == 9) announce  strcharinfo(0)+" is on a MONSTER KILL.",bc_all,0x800000;
            if (#KillStreak == 10) announce strcharinfo(0)+" is GODLIKE.",bc_all,0x800000;
            if (#KillStreak == 11) announce strcharinfo(0)+" is BEYOND GODLIKE.",bc_all,0x800000;
            if (#KillStreak == 12) announce strcharinfo(0)+" has collected 12 poor souls at PvP.",bc_all,0x800000;
            if (#KillStreak == 13) announce "PvP has given "+strcharinfo(0)+" the title of GRIM REPEAR for colleting 13 souls!",bc_all,0x800000;
            if (#KillStreak > 13) announce  strcharinfo(0)+" is possessed by the GRIM REPEAR! and has collected "+#KillStreak+" souls in the PvP Room",0;
            if (#KillStreak == 100) announce    strcharinfo(0)+" is now transformed into GRIM REPEAR! and has collected "+#KillStreak+" souls in the PvP Room",0;
            if (#KillStreak >= 100) atcommand   "@disguise 10092";
            
            for (set .j, 0; .j < 10; set .j, .j+1) {
            if (#TotalKills > $@RankKills[.j]) {            
                set $@RankKills[.j],#TotalKills;
                set $@RankName$[.j],strcharinfo(0);
                end;
            }           
            }
            
            
        }
Viewed 727 times, submitted by Guest.