trizzy Posted January 20, 2015 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 92 Reputation: 2 Joined: 01/04/15 Last Seen: April 27, 2021 Share Posted January 20, 2015 it's simple script but i cannot find anywhere! can someone make exchanger example: 100 TCG = 1 credit 1 credit = 100 TCG i think you know what i mean! you can change 100 tcg to 1 credit and second choice you can either change it again 1 credit to 100 TCG THANKS in ADVANCE. Quote Link to comment Share on other sites More sharing options...
Radian Posted January 20, 2015 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted January 20, 2015 prontera,150,150,0 script PODS&&TCG 719,{ set @name$,"^FF0000Trader^000000"; mes @name$; mes "What do you want to do?"; next; switch(select("Information","Convert")) { case 1: mes @name$; mes "I can convert your TCG CARDS into POD and vice versa."; mes "10 TCG CARD = 1 PODS"; close; case 2: switch(select("TCG CARDS to POD","POD to TCG CARDS")) { case 1: mes @name$; mes "How many POD you want to have?"; input .@item_count ; if( .@item_count == 0 ) close; if (countitem(7227) < (.@item_count*10)) goto noTCG; if (checkweight(7179,100) == 0 ) goto overWeight; delitem 7227,(.@item_count*10); getitem 7179,.@item_count; next; mes @name$; mes "There you go! You got your " + .@item_count + " PODS. Hope to see you again!"; close; case 2: mes @name$; mes "How many TCG CARDS you want to have?"; input .@item_count; if( .@item_count == 0 ) close; if (checkweight(7227,35) == 0 ) goto overWeight; if (countitem(7179) < (.@item_count/10)) goto noPods; delitem 7179,(.@item_count/10); getitem 7227,.@item_count; next; mes @name$; mes "There you go! You got your " + .@item_count + " TCG. Hope to see you again!"; close; } } OnInit: waitingroom "PODS TRADER",0; // WITH WAITING ROOM end; noPODS: next; mes @name$; mes "I'm Sorry but you don't have enough PODS."; close; noTCG: next; mes @name$; mes "I'm Sorry you don't have enough TCG"; close; overWeight: next; mes @name$; mes "Sorry you're overweight."; close; } } Quote Link to comment Share on other sites More sharing options...
trizzy Posted January 21, 2015 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 92 Reputation: 2 Joined: 01/04/15 Last Seen: April 27, 2021 Author Share Posted January 21, 2015 @Radian thanks for you effort! but i already fix by my self thank you again salamat. Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted January 22, 2015 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted January 22, 2015 make pls SOLVED..... Quote Link to comment Share on other sites More sharing options...
Question
trizzy
it's simple script but i cannot find anywhere!
can someone make exchanger example:
100 TCG = 1 credit
1 credit = 100 TCG
i think you know what i mean! you can change 100 tcg to 1 credit and second choice you can either change it again 1 credit to 100 TCG
THANKS in ADVANCE.
Link to comment
Share on other sites
3 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.