darking123 Posted January 14, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted January 14, 2013 (edited) i am requesting for a npc converter..but the player should input how many dead branch does he want...and the convertion should be 200=1tcg of 199=1tcg dead branch not enought,,, if 201=1tcg..200 only will be converted to 1=tcg eathena svn Edited January 14, 2013 by glemor123 Quote Link to comment Share on other sites More sharing options...
Euphy Posted January 14, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted January 14, 2013 You can use my Quest Shop: trunk/npc/custom/quests/quest_shop.txt ...,{ callfunc "qshop",<shop ID>; } ... Add(<shop ID>,7227,1,0,0,604,200); Quote Link to comment Share on other sites More sharing options...
Lugia Posted January 14, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 95 Reputation: 2 Joined: 08/23/12 Last Seen: September 2, 2015 Share Posted January 14, 2013 You may try this one : x,x,x,x script Unknown Trader 912,{ mes "[ Sarah ]"; mes "Hello, traveller!"; mes "How may I help you today?"; menu "- Trade Stuff",L_Trade, "- Nothing",-; mes "[ Sarah ]"; mes "Oh! Thank you..."; close; L_Trade: mes "[ Sarah ]"; mes "I will replace your 200 Deadbranch into 1 TCG!"; next; mes "[ Sarah ]"; mes "Are you sure you want to exchange your stuff?"; next; menu "- Yes",L_Yes, "- No",-; mes "[ Sarah ]"; mes "Oh! Thank you..."; close; L_Yes: mes "[ Sarah ]"; if(countitem(DBID) < 200) goto L_Not; // CHANGE DBID INTO Deadbranch Item ID delitem DBID, 200; // CHANGE DBID INTO Deadbranch Item ID getitem TCGID, 1; // CHANGE TCGID INTO TCG Item ID mes "The trade is complete."; close; L_Not: mes "[ Sarah ]"; mes "You do not have enought Deadbranch to complete this action."; close; } Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 14, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 14, 2013 the problem in the script is..that player will click and click the npc if they have many deadbranch..which they are being annoyed Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 14, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 14, 2013 Exchanger [ Item to Item ] Exchanger [ Item to Item ] Exchanger [ Multi Item to 1 Item ] Quote Link to comment Share on other sites More sharing options...
darking123 Posted January 14, 2013 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted January 14, 2013 im gonna try this out thank you Quote Link to comment Share on other sites More sharing options...
Question
darking123
i am requesting for a npc converter..but the player should input how many dead branch does he want...and the convertion should be 200=1tcg of 199=1tcg dead branch not enought,,, if 201=1tcg..200 only will be converted to 1=tcg
eathena svn
Edited by glemor123Link to comment
Share on other sites
5 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.