Jump to content

Help me please


ChillePokeTY123
 Share

Recommended Posts

I cant seem to make this skript work, It wont add the money to my balance, And the {_total} keeps showing up as 0
 
command /sell:
    trigger:
        set {_inventory} to {bag::%player's uuid%}
        add {_inventory}*{multiplier::%player's balance%} to player's balance and {_total}
        send "{@p} &6You have sold your whole bag &8| &a+ %{_total}%"
        wait 1 second
        set {bag::%player's uuid%} to 0

 

Edited by ChillePokeTY123
Link to comment
Share on other sites

6 hours ago, ChillePokeTY123 said:
I cant seem to make this skript work, It wont add the money to my balance, And the {_total} keeps showing up as 0
 

command /sell:
    trigger:
        set {_inventory} to {bag::%player's uuid%}
        add {_inventory}*{multiplier::%player's balance%} to player's balance and {_total}
        send "{@p} &6You have sold your whole bag &8| &a+ %{_total}%"
        wait 1 second
        set {bag::%player's uuid%} to 0

 

What does the bag variable contain?

––––––––––––––––––––––––––––––––––––––––––––––––––

Please leave a reaction if my assistance was satisfactory!

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...