BOXEY Posted May 12, 2020 Share Posted May 12, 2020 My /sell skript is not working it loops the last bit of code set {price::coal} to 5 set {sell::coal} to coal options: prefix: &6Money &7>> sellout: &6Sell &7>> command /sell: trigger: loop {sell::*}: set {_items} to loop-value set {_amount} to number of {_items} in player's inventory if {_amount} is more than 0: remove {_amount} of {_items} from player's inventory set {_block} to "%loop-index%" set {_g} to (({_amount} * {price::%{_block}%}) * ({%uuid of player%::booster} + 1)) add {_amount} to {Totali} add {_g} to {_Total} if {_Total} is more than 0: send "{@prefix} You Sold All Items For &a$%{_Total}%" add {_Total} to player's balance Discord ---- Boxmonk#7877 Link to comment Share on other sites More sharing options...
ReportCards Posted May 13, 2020 Share Posted May 13, 2020 What is the issue with it? What does it do wrong? More information... please. Zora » Discord: @reportcards Link to comment Share on other sites More sharing options...
ReyMysterio_ Posted September 29, 2020 Share Posted September 29, 2020 yeah whats wrong with it Link to comment Share on other sites More sharing options...
Pryzmm Posted September 29, 2020 Share Posted September 29, 2020 i think what you need to do is stop the loop by typing Stop i think Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
ztimhirsch1 Posted September 29, 2020 Share Posted September 29, 2020 Can a staff lock? If I helped you add a reaction to my post. First Joined Oct 29 15:01 GMT 2017 VIP since 9/26/2020 Link to comment Share on other sites More sharing options...
ThatOneSponk Posted September 29, 2020 Share Posted September 29, 2020 LOCKED Please do not respond to posts that haven't been active in over a month. Thanks! Quote “When life gives you lemons, don't make lemonade. Make life take the lemons back! Get mad!" Default - 12/12/2015 [VIP] - 10/8/2018 [JR.MOD] - 9/12/2020 [MOD] - 10/14/2020 Link to comment Share on other sites More sharing options...
Recommended Posts