Jump to content

Loot from mobs and block to inv (in Skript)


OdinDemigodOfMC

Recommended Posts

I got a skript from somewhere else on these forums

on death:
    if victim is not player:
        set {_drops} to drops
        clear drops
        give attacker {_drops}

when I reload it, there is an error saying that {_drops} cannot be set to more than 1 thing, which makes sense. I'm just not sure how I would go about fixing this.
I would also like to do something similar for blocks, but an error tells me that "drops" are related to mobs, and I do not know the syntax for block drops, and couldn't find anything on the documentation.

Link to comment
Share on other sites

  • 1 month later...

Moved to Minehut -> Skript -> Discussion.

 

Next time please use the right forum when posting threads.

No rank - 2017-2021

Minehut Tester - 2021-2023

Minehut Volunteer Moderator - 2023-Current

Report a player/server: Report Player / Server

Create a support ticket: Submit a request

 

Did I help you? If so, feel free to give me a like!

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
×
×
  • Create New...