Help to delete item

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ewh_kolding

Member
Jul 14, 2018
3
0
1
28
My code doesn't work. Its stops all times at
code_language.skript:
if name of loop-entity is "Poop":
I dont know why but can someone helpt me with that?

code_language.skript:
command /...: 
    trigger: 
        drop diamond named "Poop" at player 
        wait 100 ticks 
        loop all dropped items: 
            if name of loop-entity is "Poop": 
                wait 10 ticks 
                delete loop-entity
(Sry for my bad english)
[doublepost=1540035066,1539984322][/doublepost]An other variation

code_language.skript:
set {_dia} to diamond named "Poop"
drop {_dia} at player
wait 10 ticks
delete {_dia}

still no luck :/
 
You can try
code_language.skript:
clear loop-entity
, but I would put some checks to debug where the code stops.
 
Status
Not open for further replies.