sumano Posted June 3, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 04/24/12 Last Seen: February 28, 2020 Share Posted June 3, 2014 hi again. possible to make like that by @command like here http://rathena.org/board/topic/95438-rduplicate-all-equip-item-1-click/ but i need copy 1 item in my select thanks Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 3, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 3, 2014 try http://upaste.me/r/8da352 Quote Link to comment Share on other sites More sharing options...
sumano Posted June 3, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 04/24/12 Last Seen: February 28, 2020 Author Share Posted June 3, 2014 it freeze again sir. i don't know why no message anymore in console no error too Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 3, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted June 3, 2014 change end to close Quote Link to comment Share on other sites More sharing options...
sumano Posted June 3, 2014 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 04/24/12 Last Seen: February 28, 2020 Author Share Posted June 3, 2014 - script copyitem -1,{ OnInit: bindatcmd "copyitem",strnpcinfo(3)+"::OnAtcommand",1,1; end; OnAtcommand: .@aid = getcharid( 3,.@atcmd_parameters$[0] ); if( .@aid ){ .@origin = getcharid(3); .@i = select( "Head Top","Armor","Hand L","Hand R","Garment","Shoe","Acc L","Acc R","Head Mid","Low" ); attachrid( .@aid ); .@equip = getequipid( .@i ); if( .@equip != -1 ){ .@refine = getequiprefinerycnt( .@i ); .@slot = getequipcardcnt( .@i ); for( .@x = 0; .@x < .@slot; .@x++ ) .@card[.@x] = getequipcardid( .@i,.@x ); } attachrid( .@origin ); if( .@equip != -1 ){ getitem2 .@equip,1,1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3]; equip .@equip[.@i]; dispbottom "Cloned "+.@atcmd_parameters$[0]+" equipments."; } else{ dispbottom "Nothing to clone on that equipment slot"; } } close; } freeze again sir Quote Link to comment Share on other sites More sharing options...
Question
sumano
hi again.
possible to make like that by @command like here http://rathena.org/board/topic/95438-rduplicate-all-equip-item-1-click/
but i need copy 1 item in my select
thanks
Link to comment
Share on other sites
4 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.