Jessica907432 Posted April 27, 2021 Share Posted April 27, 2021 as the title implies i need help with this: on death: if victim is zombie: clear the drops set {_drop} to diamond with name ''&bDiamond'' drop {_drop} at victim's location for some reason skript doesnt understand the with name ''*bDiamond'' any answers why and how do i fix Link to comment Share on other sites More sharing options...
1 MrTibo Posted April 27, 2021 Share Posted April 27, 2021 (edited) When writing strings in scripts, you have to use the " double quotation mark instead of two ' ' single quotation marks The correct line would be "&bDiamond" instead of ' ' &bDiamond ' ' (spaced out to make it more obvious) Edited April 27, 2021 by MrTibo [<3] DMs open - Discord » mrtibo | or send a forum message Link to comment Share on other sites More sharing options...
1 MrTibo Posted April 27, 2021 Share Posted April 27, 2021 Just now, Jessica907432 said: would this work? on death: if victim is ender dragon: clear the drops set {_drop} to diamond sword named "&5Aspect Of The End" drop {_drop} at victim's location From here it looks like it will, but you can always Try it and see, IF there is an error, Skript will tell you on which line it happened and why [<3] DMs open - Discord » mrtibo | or send a forum message Link to comment Share on other sites More sharing options...
0 Jessica907432 Posted April 27, 2021 Author Share Posted April 27, 2021 but i have a problem Link to comment Share on other sites More sharing options...
0 MrTibo Posted April 27, 2021 Share Posted April 27, 2021 (edited) 1 minute ago, Jessica907432 said: but i have a problem Because you did exactly the opposite of what you're supposed to do on this one 7 minutes ago, MrTibo said: When writing strings in scripts, you have to use the " double quotation mark instead of two ' ' single quotation marks The correct line would be "&bDiamond" instead of ' ' &bDiamond ' ' (spaced out to make it more obvious) Edited April 27, 2021 by MrTibo [<3] DMs open - Discord » mrtibo | or send a forum message Link to comment Share on other sites More sharing options...
0 Jessica907432 Posted April 27, 2021 Author Share Posted April 27, 2021 ah ok thanks i relside my problem Link to comment Share on other sites More sharing options...
0 Jessica907432 Posted April 27, 2021 Author Share Posted April 27, 2021 would this work? on death: if victim is ender dragon: clear the drops set {_drop} to diamond sword named "&5Aspect Of The End" drop {_drop} at victim's location Link to comment Share on other sites More sharing options...
0 Jessica907432 Posted April 27, 2021 Author Share Posted April 27, 2021 It worked time to get players now thank you so much! 1 Link to comment Share on other sites More sharing options...
Question
Jessica907432
as the title implies i need help with this:
on death:
if victim is zombie:
clear the drops
set {_drop} to diamond with name ''&bDiamond''
drop {_drop} at victim's location
for some reason skript doesnt understand the with name ''*bDiamond'' any answers why and how do i fix
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now