BlackSnow Posted February 29, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 32 Reputation: 0 Joined: 02/19/16 Last Seen: September 25, 2018 Share Posted February 29, 2016 How do you turn them into a switch case? I dont want two or more npc while using itemshop. prontera,150,150,3 itemshop Headies 909,509:0,5406:10000000,5407:10000000 prontera,151,151,3 itemshop Supplies 909,509:0,5766:10000000,5207:10000000 Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted February 29, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted February 29, 2016 (edited) Try this.You need to finish it first though. - itemshop custom_seller1 909..... - itemshop custom_seller2 909..... Coordinate_Here script Name_Shop_Here 437,{ mes "[NPC_NAME_HERE]"; mes "Which one do you want to open?"; @shop = select("Headgears:Supplies"); mes "[NPC_NAME_HERE"; mes "Happy shopping."; close2; deletearray @bought_nameid; callshop "custom_seller"+@shop,1; npcshopattach "custom_seller"+@shop; end; } Edited February 29, 2016 by PandaLovesHamster Quote Link to comment Share on other sites More sharing options...
0 BlackSnow Posted February 29, 2016 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 32 Reputation: 0 Joined: 02/19/16 Last Seen: September 25, 2018 Author Share Posted February 29, 2016 (edited) Thanks but unfortunately it doesn't want to work. - itemshop custom_seller1 909,509:0,5406:100,5407:100 - itemshop custom_seller2 909,509:0,5766:100,5207:100 prontera,155,155,3 script Name_Shop_Here 437,{ mes "[NPC_NAME_HERE]"; mes "Which one do you want to open?"; @shop = select("Headgears:Supplies"); mes "[NPC_NAME_HERE"; mes "Happy shopping."; close2; deletearray @bought_nameid; callshop "custom_seller"+@shop,1; npcshopattach "custom_seller"+@shop; end; } I'm using White Herb(509) as my currency. It doesn't do anything. My money is still intact and my white herb is still there. It says deal completed but its not. Edited February 29, 2016 by BlackSnow Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted February 29, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted February 29, 2016 Try removing that deletearray line. Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted March 4, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted March 4, 2016 Edit: Remove npcshopattach. Quote Link to comment Share on other sites More sharing options...
Question
BlackSnow
How do you turn them into a switch case? I dont want two or more npc while using itemshop.
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.