#scavenger but with items

1 messages · Page 1 of 1 (latest)

formal pollen
#

okay, what have you got so far?

cunning quail
#

``command /scavenger <kit1> <kit2>:
description: checks if the player has the items in kit1 to give the player kit2.
permission: scavenger.use
permission message: &cYou don't have permission to use this command!

trigger:
    set {_kit1} to arg 1
    set {_kit2} to arg 2


    if player has {_kit1}:
        send "&aYou have the {_kit2} your reward!" to player
        execute console command "kit give {_kit2} %player%"``

idk if this is correct or not...

formal pollen
#

but you need to make the arguments strings or whatever, not just names