Macky Posted August 10, 2021 Share Posted August 10, 2021 So what I would like in the Skript: Â /sell - Only Sells Prismarine Blocks Sells 1 Prismarine Block for $50k And I'm using Vault for my Economy. Â plz make me this if you can ASAP Â Link to comment Share on other sites More sharing options...
AbusingNub Posted August 10, 2021 Share Posted August 10, 2021 (edited) command /sell: trigger: set {_prismarine} to amount of prismarine in player's inventory add {_prismarine}*50000 to player's balance send "You've sold %{_prismarine}% prismarine for ({_prismarine}*50000)$" remove {_prismarine} prismarine from player's inventory Hopefully this works, haven't had time to test.   Edited August 10, 2021 by AbusingNub 2 --- AbusingNub --- -- Owner of the DevilsNetwork -- ◉ DevilsPvP.minehut.gg ◉ BridgesWar.minehut.gg Here to lend a helping hand.  Link to comment Share on other sites More sharing options...
Macky Posted August 11, 2021 Author Share Posted August 11, 2021 On 8/10/2021 at 12:56 AM, AbusingNub said: command /sell: trigger: set {_prismarine} to amount of prismarine in player's inventory add {_prismarine}*50000 to player's balance send "You've sold %{_prismarine}% prismarine for ({_prismarine}*50000)$" remove {_prismarine} prismarine from player's inventory Hopefully this works, haven't had time to test. Â Â It doesn't work it shows me this error. And also when I try to sell it it gives me the Money but never takes away my Prismarine. Â https://gyazo.com/0b1ed6cd3681f9f8b5a19a5e3d805ebf Link to comment Share on other sites More sharing options...
AbusingNub Posted August 12, 2021 Share Posted August 12, 2021 Will fix it in around 1-2 hours, and test it for you. Sorry didn't test it before 3 hours ago, Macky said: It doesn't work it shows me this error. And also when I try to sell it it gives me the Money but never takes away my Prismarine.  https://gyazo.com/0b1ed6cd3681f9f8b5a19a5e3d805ebf  --- AbusingNub --- -- Owner of the DevilsNetwork -- ◉ DevilsPvP.minehut.gg ◉ BridgesWar.minehut.gg Here to lend a helping hand.  Link to comment Share on other sites More sharing options...
BOXEY Posted August 12, 2021 Share Posted August 12, 2021 (edited) 3 hours ago, Macky said: It doesn't work it shows me this error. And also when I try to sell it it gives me the Money but never takes away my Prismarine.  https://gyazo.com/0b1ed6cd3681f9f8b5a19a5e3d805ebf   fix command /sell: trigger: set {_prismarine} to amount of prismarine in player's inventory add {_prismarine}*50000 to player's balance set {_t} to {_prismarine}*50000 send "You've sold %{_prismarine}% prismarine for %{_t}%$" remove all prismarine from player's inventory  Edited August 12, 2021 by Boxmonkey Link to comment Share on other sites More sharing options...
AbusingNub Posted August 12, 2021 Share Posted August 12, 2021 3 minutes ago, Boxmonkey said:   fix command /sell: trigger: set {_prismarine} to amount of prismarine in player's inventory add {_prismarine}*50000 to player's balance set {_t} to {_prismarine}*50000 send "You've sold %{_prismarine}% prismarine for %{_t}%$" remove all prismarine from player's inventory  Legend! Sorry I couldn't test it before posting it --- AbusingNub --- -- Owner of the DevilsNetwork -- ◉ DevilsPvP.minehut.gg ◉ BridgesWar.minehut.gg Here to lend a helping hand.  Link to comment Share on other sites More sharing options...
Macky Posted August 12, 2021 Author Share Posted August 12, 2021 36 minutes ago, Boxmonkey said:   fix command /sell: trigger: set {_prismarine} to amount of prismarine in player's inventory add {_prismarine}*50000 to player's balance set {_t} to {_prismarine}*50000 send "You've sold %{_prismarine}% prismarine for %{_t}%$" remove all prismarine from player's inventory  Thank you so much! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now