Digosok Posted June 18, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 28 Reputation: 1 Joined: 05/28/16 Last Seen: May 24, 2023 Share Posted June 18, 2021 Hi guys. i want to make a box that if you double click it this box will let you choose for an +10 equipments. for example 1 +10 buckler, 1 +10 boots, 1 +10 chain mail etc Quote Link to comment Share on other sites More sharing options...
0 PsyOps Posted June 23, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 150 Reputation: 12 Joined: 12/03/18 Last Seen: 4 hours ago Share Posted June 23, 2021 Well you can create a box that will call a function that will allow him to choose the items that he wants. You just need to find a box and edit the items as needed. // item_db.txt 35022,Freebie_Headgear_Box,Freebie Costume Headgear Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "freecoshg"; },{},{} // script.txt function script freecoshg { setarray .freehg[0],19537,19835,31197,19973,20148; mes "Please select your Freebie Costume Headgear:"; next; select(""+getitemname(.freehg[0])+":"+getitemname(.freehg[1])+":"+getitemname(.freehg[2])+":"+getitemname(.freehg[3])+":"+getitemname(.freehg[4])+""); //*getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>}; getitem2 .freehg[@menu-1],1,1,10,0,0,0,0,0; announce "Congratulations! "+strcharinfo(0)+" has just received the amazing "+getitemname(.freehg[@menu-1])+" from the "+getitemname(35022)+"!",0; end; } Quote Link to comment Share on other sites More sharing options...
Question
Digosok
Hi guys. i want to make a box that if you double click it this box will let you choose for an +10 equipments. for example 1 +10 buckler, 1 +10 boots, 1 +10 chain mail etc
Link to comment
Share on other sites
1 answer 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.