erryngok Posted January 18, 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 Share Posted January 19, 2016 (edited) - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + [email protected]; dispbottom "Gained : "+ [email protected] +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set [email protected],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 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 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 + [email protected]; 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 Author Share Posted January 19, 2016 - script gvubhnji -1,{ OnNPCKillEvent: #CASHPOINTS = #CASHPOINTS + [email protected]; dispbottom "Gained : "+ [email protected] +" points. Total : "+ #CASHPOINTS +" points."; } end; OnInit: set [email protected],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 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...
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