mangkepwengs 0 Posted March 20, 2014 This is the code http://upaste.me/ea7e1119078c26a20#L14I want to be make this1. NPC Trader 2. Trade 3 different items to Points3. Every items will have they owned rate 10 30 100 4. have same rate in points to items 5. thanks for helping me Quote Share this post Link to post Share on other sites
0 mangkepwengs 0 Posted March 21, 2014 please anyone help in this Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted March 21, 2014 why not just setup trader npc ?? https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt Quote Share this post Link to post Share on other sites
0 mangkepwengs 0 Posted March 21, 2014 (edited) T_T im new in hercules new commands is dunno sorry emistry Edited March 22, 2014 by mangkepwengs Quote Share this post Link to post Share on other sites
0 mangkepwengs 0 Posted March 22, 2014 (edited) why not just setup trader npc ?? https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt I TEST all script there but no script is compatible or can help me there there is no script there giving any cash points to a player trade a item Edited March 22, 2014 by mangkepwengs Quote Share this post Link to post Share on other sites
0 Danzon 4 Posted March 22, 2014 (edited) something like this ? /* receives @price (total cost) and @points (the secondary input field for cash windows) */OnPayFunds: dispbottom "Hi: price="+@price+" and points="+@points; if( countitem(Orange_Potion) < @points || countitem(Red_Potion) < @price-@points ) end; delitem Orange_Potion,@points; delitem Red_Potion,@price-@points; purchaseok(); end;} Edited March 22, 2014 by Max Quote Share this post Link to post Share on other sites
This is the code http://upaste.me/ea7e1119078c26a20#L14
I want to be make this
1. NPC Trader
2. Trade 3 different items to Points
3. Every items will have they owned rate 10 30 100
4. have same rate in points to items
5. thanks for helping me
Share this post
Link to post
Share on other sites