Asverick Posted March 16, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 1 Joined: 02/26/13 Last Seen: October 22, 2020 Share Posted March 16, 2013 I Need a script that exchanges the battleground medals in to cash points, please -War Badges (7773) - 15 Cash Points -Valor Badges (7829) - 10 Cash Points -Bravery Badges (7828) - 10 Cash Points Or just the Script and i edit the prize for each medals Quote Link to comment Share on other sites More sharing options...
Shakto Posted March 16, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 416 Reputation: 96 Joined: 02/07/13 Last Seen: Saturday at 01:08 PM Share Posted March 16, 2013 What do you mean by cash point ? It's an item ? Point on your website ? Quote Link to comment Share on other sites More sharing options...
Euphy Posted March 16, 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 March 16, 2013 setarray .@Badges[0],7773,7829,7828; setarray .@Points[0], 15, 10, 10; mes "[Badge Trader]"; for(set .@i,0; .@i<getarraysize(.@Badges); set .@i,.@i+1) { set .@count[.@i],countitem(.@Badges[.@i]); if (.@count[.@i]) { delitem .@Badges[.@i],.@count[.@i]; set #CASHPOINTS,#CASHPOINTS+(.@count[.@i]*.@Points[.@i]); mes "Traded "+.@count[.@i]+" "+getitemname(.@Badges[.@i])+" for "+(.@count[.@i]*.@Points[.@i])+" Cash Points."; } } if (!getarraysize(.@count)) mes "You have no badges."; close; Quote Link to comment Share on other sites More sharing options...
Asverick Posted March 18, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 15 Reputation: 1 Joined: 02/26/13 Last Seen: October 22, 2020 Author Share Posted March 18, 2013 Thx a lot Euphy *0* Quote Link to comment Share on other sites More sharing options...
Question
Asverick
I Need a script that exchanges the battleground medals in to cash points, please
-War Badges (7773) - 15 Cash Points
-Valor Badges (7829) - 10 Cash Points
-Bravery Badges (7828) - 10 Cash Points
Or just the Script and i edit the prize for each medals
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.