VladimirCastro Posted July 29, 2014 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share Posted July 29, 2014 - script KillCashPoint -1,{OnPCKillEvent: if (killedrid==getcharid(0)) end; //No Points, killed himself if (lastkilled==killedrid){ set lkcount,lkcount+1; if (lkcount>=5){ set #CASHPOINTS,#CASHPOINTS-3; dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#CASHPOINTS; atcommand "@nuke "+strcharinfo(0); end; } else{ set #CASHPOINTS,#CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } } else{ set lastkilled,killedrid; set lkcount,1; set #CASHPOINTS,#CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } } Quote Link to comment Share on other sites More sharing options...
JoceProduction Posted July 29, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 08/08/13 Last Seen: December 3, 2014 Share Posted July 29, 2014 i think it's not a good idea if u put a delay on that.. mayberestrict and ip to the script Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted August 1, 2014 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share Posted August 1, 2014 bump add delay pls Quote Link to comment Share on other sites More sharing options...
Skorm Posted August 2, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted August 2, 2014 - script KillCashPoint -1,{ OnPCKillEvent: if ( killedrid == getcharid(0) ) end; //No Points, killed himself explode( .@tmp_ary$, lkcount$, "#" ); if( getitemtick(2) < atoi(.@tmp_ary$[1]) ) end; if ( lastkilled == killedrid ) { set lkcount$, (atoi(.@tmp_ary$)+1)+"#"+(getitemtick(2)+.dly); if ( atoi(.@tmp_ary$) >= 5 ) { set #CASHPOINTS, #CASHPOINTS-3; dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#CASHPOINTS; atcommand "@nuke "+strcharinfo(0); end; } else { set #CASHPOINTS, #CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } } else { set lastkilled, killedrid; set lkcount$, "1#"+(getitemtick(2)+.dly); set #CASHPOINTS, #CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } end; OnInit: .dly = 10; //delay in seconds; } Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted August 2, 2014 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share Posted August 2, 2014 not working im using eathena Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted August 2, 2014 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted August 2, 2014 You should tell everyone that you are using eAthena (or another emulator), because if you don't, it means you have wasted other people's time People have to edit and fix their post... Quote Link to comment Share on other sites More sharing options...
Skorm Posted August 2, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted August 2, 2014 not working im using eathena - script KillCashPoint -1,{ OnPCKillEvent: if ( killedrid == getcharid(0) ) end; //No Points, killed himself if( getitemtick(2) < lkcount ) end; if ( compare( lastkilled$, "|"+killedrid ) ) { set lkcount, getitemtick(2)+.dly; set lastkilled$, (atoi(lastkilled$)+1)+"|"+killedrid; if ( atoi(lastkilled$) >= 5 ) { set #CASHPOINTS, #CASHPOINTS-3; dispbottom "You have Lose 3 points of Honour. Your Total Points are "+#CASHPOINTS; atcommand "@nuke "+strcharinfo(0); end; } else { set #CASHPOINTS, #CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } } else { set lastkilled$, "1|"+killedrid; set lkcount, getitemtick(2)+.dly; set #CASHPOINTS, #CASHPOINTS+1; dispbottom "You have gained 1 Point of Honour. Your Total Points are "+#CASHPOINTS; end; } end; OnInit: set .dly, 10; //delay in seconds; } You should tell everyone that you are using eAthena (or another emulator), because if you don't, it means you have wasted other people's time People have to edit and fix their post... Thanks. Quote Link to comment Share on other sites More sharing options...
Question
VladimirCastro
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.