kangfredy Posted February 13, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Share Posted February 13, 2013 (edited) guys can i request my script gold_exchange.txt it's default format change item i need it' can count item wan't to change to gold...like input wan't to change... every 10 jellopy player can get 3 gold.... and every 30 orcish voucher get 30 gold... :bump: Edited February 13, 2013 by kangfredy Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 13, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share Posted February 13, 2013 10 jellopy = 3 gold .@amount = countitem( 909 ) / 10; getitem 969,( .@amount * 3 ); delitem 909,( .@amount * 10 ); Quote Link to comment Share on other sites More sharing options...
kangfredy Posted February 13, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share Posted February 13, 2013 hm..but if input not enough emistry???no check if?? Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 13, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 10 hours ago Share Posted February 13, 2013 the method i show above will auto convert the amount.....auto calculate the max amount a player can get...and exchange it... no input process required. Quote Link to comment Share on other sites More sharing options...
kangfredy Posted February 15, 2013 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share Posted February 15, 2013 oh...if no item?so it's no needed error correction no item in inventory? Quote Link to comment Share on other sites More sharing options...
Question
kangfredy
guys can i request my script
gold_exchange.txt
it's default format change item
i need it' can count item wan't to change to gold...like input wan't to change...
every 10 jellopy player can get 3 gold....
and every 30 orcish voucher get 30 gold...
:bump:
Edited by kangfredyLink 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.