wOni Posted June 14, 2015 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 69 Reputation: 2 Joined: 04/20/13 Last Seen: October 6, 2018 Share Posted June 14, 2015 basically like @itemmap (https://rathena.org/board/topic/56124-package-getitem-map-itemmap) but it use bindatcmd. @cashmap for all character in map ex. @cashmap <prontera> <20>all players in prontera will get 20 cash.Thank you for the help Quote Link to comment Share on other sites More sharing options...
wOni Posted July 4, 2015 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 69 Reputation: 2 Joined: 04/20/13 Last Seen: October 6, 2018 Author Share Posted July 4, 2015 bump Quote Link to comment Share on other sites More sharing options...
Vince Jimenez Posted July 5, 2015 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 68 Reputation: 1 Joined: 10/16/12 Last Seen: August 14, 2016 Share Posted July 5, 2015 what if you make an usable/ clickable items like [ Cash Giftbox or what ever you want ] and @itemmap "GiftboxID'' then the giftbox script is IDNUMBER,Cash_GIFTBOX,Cash_GIFTBOX,0,10,,30,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS, #CASHPOINTS+1; },{},{}This is only a SUGGESTION Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 12, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 18 hours ago Share Posted July 12, 2015 - script atcmd_example -1,{ OnInit: bindatcmd "cashmap",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: $@cashmap_map$ = .@atcmd_parameters$[0]; $@cashmap_amount = atoi( .@atcmd_parameters$[1] ); if ( getmapusers( $@cashmap_map$ ) <= 0 ) { dispbottom "Invalid map / no players."; } else if ( $@cashmap_amount <= 0 ) { dispbottom "Invalid amount of cash."; } else { addrid(0); if ( strcharinfo(3) == $@cashmap_map$ ) { #CASHPOINTS += $@cashmap_amount; dispbottom "Gained "+$@cashmap_amount+" Cash points."; } } end; } Quote Link to comment Share on other sites More sharing options...
Question
wOni
basically like @itemmap (https://rathena.org/board/topic/56124-package-getitem-map-itemmap)
but it use bindatcmd.
@cashmap for all character in map
ex. @cashmap <prontera> <20>
all players in prontera will get 20 cash.
Thank you for the help
Link to comment
Share on other sites
3 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.