drop item not working

  • 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.

asdf

Member
Feb 4, 2017
13
0
0
42
code_language.skript:
on death of a player:
    drop 1 at victim's location

not working..
 
code_language.skript:
on death of a player:
    drop 1 at victim's location

not working..
You need to specify an item to drop(unless you just forgot to put it in your example here).
Another option could be dropping the item at the attacker if for some reason dropping it at the victim is not working.
 
You need to specify an item to drop(unless you just forgot to put it in your example here).
Another option could be dropping the item at the attacker if for some reason dropping it at the victim is not working.
I am not good at English and I use a translator. I did not understand your words well.
 
I am not good at English and I use a translator. I did not understand your words well.
Hmm, hopefully this makes sense:
drop 1 <item> at victim. Example: Drop 1 diamond at victim

Or

drop 1 <item> at attacker. Example: Drop 1 diamond at attacker
 
Hmm, hopefully this makes sense:
drop 1 <item> at victim. Example: Drop 1 diamond at victim

Or

drop 1 <item> at attacker. Example: Drop 1 diamond at attacker

not working..
nqa0p.mp4
 
The picture is not showing. Can you explain more? Post the exact code you are using? :emoji_slight_smile:
code_language.skript:
on death of a player:
    set {_약탈} to level of looting of attacker's tool
    set {_약탈} to {_약탈}+1
    set {_s} to 240*{_약탈}
    set {_m} to round down ( {_s} / 60 )
    set {_s} to {_s} - ( {_m} * 60 )
    set {_h} to round down ( {_m} / 60 )
    set {_m} to {_m} - ( {_h} * 60 )
    set {_d} to round down ( {_h} / 24 )
    set {_h} to {_h} - ( {_d} * 24 )
    set {_돈} to raw pork named "돈"
    set 1st line of {_돈}'s lore to "시간: %{_d}%일 %{_h}%시간 %{_m}%분 %{_s}%초"
    Drop 1 {_돈} at victim
    broadcast "{@prefix} %attacker%님이 %victim%님을 죽여 &d%{_d}%일 %{_h}%시간 %{_m}%분 %{_s}%초&f를 획득하셨습니다."

victim is not working but, attacker is working
 
This is exactly what I have:
6d4dec6f52.png

code_language.skript:
options:
    prefix: test

on death of a player:
    set {_약탈} to level of looting of attacker's tool
    set {_약탈} to {_약탈}+1
    set {_s} to 240*{_약탈}
    set {_m} to round down ( {_s} / 60 )
    set {_s} to {_s} - ( {_m} * 60 )
    set {_h} to round down ( {_m} / 60 )
    set {_m} to {_m} - ( {_h} * 60 )
    set {_d} to round down ( {_h} / 24 )
    set {_h} to {_h} - ( {_d} * 24 )
    set {_돈} to raw pork named "돈"
    set 1st line of {_돈}'s lore to "시간: %{_d}%일 %{_h}%시간 %{_m}%분 %{_s}%초"
    Drop  {_돈} at victim
    broadcast "{@prefix} %attacker%님이 %victim%님을 죽여 &d%{_d}%일 %{_h}%시간 %{_m}%분 %{_s}%초&f를 획득하셨습니다."
[doublepost=1515745825,1515745790][/doublepost]If that is not working for you, what errors do you have?
 
oh.. i'm not working..
no error message is shown.
my minecraft version 1.7.10 skript version 2.2
 
oh.. i'm not working..
not showed error message
my minecraft version 1.7.10 skript version 2.2
Which Dev version are you on? You may need to use an older version of skript that woks with your minecraft version.
[doublepost=1515746151,1515746109][/doublepost]Why are you still on 1.7.10? :0 it's very old.
 
code_language.skript:
This server is running CraftBukkit version git-Spigot-1.7.9-R0.2-208-ge0f2e95 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
This is because in Korea 1.7.10 is used a lot.
 
Status
Not open for further replies.