Fai T.Flowright Posted December 27, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 155 Reputation: 2 Joined: 10/09/12 Last Seen: December 26, 2022 Share Posted December 27, 2012 hey, i'm requesting script for coin to coin example: 5bronze -> 1gold 5gold -> 1 platinum 5platinum -> 1poring coin Quote Link to comment Share on other sites More sharing options...
Sryx Posted December 27, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 520 Reputation: 64 Joined: 11/19/11 Last Seen: October 19, 2024 Share Posted December 27, 2012 Just change the Item ID's. prontera,138,181,5, script Trader 828,{ set .bronze,555;//item id of bronze set .gold,555;//item id of gold set .platinum,555;//item id of platinum set .poringcoin,555;//item id of poring coin set @header$,"[^0000ff Trader ^000000]";//NPC Name mes @header$; mes "Hello"; menu "5 Bronze to 1Gold",-,"5 Gold to 1 Platinum",gtp,"5 Platinum to 1 Poring Coin",ptp; if(countitem(.bronze) < 5) goto L_NOTENOUGH; next; mes @header$; mes "Thanks. . See you again. . . !"; delitem .bronze,5; getitem .gold,1; close; gtp: if(countitem(.gold) < 5) goto L_NOTENOUGH; next; mes @header$; mes "Thanks. . See you again. . . !"; delitem .gold,5; getitem .platinum,1; close; ptp: if(countitem(.gold) < 5) goto L_NOTENOUGH; next; mes @header$; mes "Thanks. . See you again. . . !"; delitem .gold,5; getitem .poringcoin,1; close; L_NOTENOUGH: next; mes @header$; mes "Not enough requirements"; close; } Quote Link to comment Share on other sites More sharing options...
Fai T.Flowright Posted December 27, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 155 Reputation: 2 Joined: 10/09/12 Last Seen: December 26, 2022 Author Share Posted December 27, 2012 (edited) errr sir, u mean like this? http://pastebin.com/cwcgJWTS Edited December 27, 2012 by Fai T.Flowright Quote Link to comment Share on other sites More sharing options...
Capuche Posted December 27, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted December 27, 2012 //set .bronze,673;//item id of bronze //set .gold,671;//item id of gold //set .platinum,677;//item id of platinum //set .poringcoin,7539;//item id of poring coin //set @header$,"[^0000ff Trader ^000000]";//NPC Name Uncomment this lines. ptp: if(countitem(.gold) < 5) goto L_NOTENOUGH; should be ptp: if(countitem(.platinum) < 5) goto L_NOTENOUGH; You can used .@variable instead of .variable gonryun,141,130,5 script Trader 828 ,{ set .@bronze,673;//item id of bronze set .@gold,671;//item id of gold set .@platinum,677;//item id of platinum set .@poringcoin,7539;//item id of poring coin set .@header$,"[^0000ff Trader ^000000]";//NPC Name mes .@header$; mes "Hello"; next; menu "5 Bronze to 1Gold",-,"5 Gold to 1 Platinum",gtp,"5 Platinum to 1 Poring Coin",ptp; if(countitem(.@bronze) < 5) goto L_NOTENOUGH; mes .@header$; mes "Thanks. . See you again. . . !"; delitem 673,5; getitem 671,1; close; gtp: if(countitem(.@gold) < 5) goto L_NOTENOUGH; mes .@header$; mes "Thanks. . See you again. . . !"; delitem 671,5; getitem 677,1; close; ptp: if(countitem(.@platinum) < 5) goto L_NOTENOUGH; mes .@header$; mes "Thanks. . See you again. . . !"; delitem 677,5; getitem 7539,1; close; L_NOTENOUGH: mes .@header$; mes "Not enough requirements"; close; } Quote Link to comment Share on other sites More sharing options...
Fai T.Flowright Posted December 27, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 155 Reputation: 2 Joined: 10/09/12 Last Seen: December 26, 2022 Author Share Posted December 27, 2012 oo ok tq Quote Link to comment Share on other sites More sharing options...
Question
Fai T.Flowright
hey, i'm requesting script for coin to coin
example:
5bronze -> 1gold
5gold -> 1 platinum
5platinum -> 1poring coin
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.