erryngok Posted January 18, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 01/07/16 Last Seen: November 4, 2016 Share Posted January 18, 2016 I already seach the cashpoint script, but all about pvp and mvp kill can get the cash point. Anyone can share with me script that if kill any monster in akk maps can get cash point ? Thanks advanced and sorry my bad english . Quote Link to comment Share on other sites More sharing options...
0 benching Posted January 19, 2016 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share Posted January 19, 2016 (edited) - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set .@R,1; //cashpoints per kill end; } this will add cashpoint for each monster killed Edited January 19, 2016 by benching Quote Link to comment Share on other sites More sharing options...
0 benching Posted January 18, 2016 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share Posted January 18, 2016 search for the use ofOnNPCKillEvent andatcommandthat will help you. Quote Link to comment Share on other sites More sharing options...
0 erryngok Posted January 19, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 01/07/16 Last Seen: November 4, 2016 Author Share Posted January 19, 2016 (edited) search for the use of OnNPCKillEvent and atcommand that will help you. I show the example script.. this one if kill mvp / mini bos.. how if if kill all mob on all maps ? - script gvubhnji -1,{ OnNPCKillEvent: if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) { if( getmonsterinfo(killedrid, 22) ) .@R = rand( 100, 500 );//-- MVP else .@R = rand( 50, 150 );//-- MINIBOSS #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; } Edited January 19, 2016 by erryngok Quote Link to comment Share on other sites More sharing options...
0 erryngok Posted January 19, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 01/07/16 Last Seen: November 4, 2016 Author Share Posted January 19, 2016 - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set .@R,1; //cashpoints per kill end; } this will add cashpoint for each monster killed Thanks sir Quote Link to comment Share on other sites More sharing options...
0 bombsy Posted January 30, 2021 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 01/23/21 Last Seen: March 30, 2021 Share Posted January 30, 2021 On 1/19/2016 at 9:31 AM, erryngok said: Thanks sir what value do you change here to change how much earned per kill? Quote Link to comment Share on other sites More sharing options...
Question
erryngok
I already seach the cashpoint script, but all about pvp and mvp kill can get the cash point. Anyone can share with me script that if kill any monster in akk maps can get cash point ?
Thanks advanced and sorry my bad english .
Link to comment
Share on other sites
5 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.