TuSke Custom Enchantment Help

  • 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 community!

    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.
Jun 15, 2018
2
0
1
Hey everyone, I was hoping I could get some help on this:

https://pastebin.com/S5Qu8TuS

If you could help me out with this, that would be great. I'm getting an unknown condition error @ line 10.
Skript version: 2.2-dev34
TuSke version: v1.8.2 (latest)

Thanks, Breakfast.

[doublepost=1529078718,1529078687][/doublepost]It seemed that my skript actually aligned with the text, so im going to make a pastebin for it now.
 
Hey everyone, I was hoping I could get some help on this:

https://pastebin.com/S5Qu8TuS

If you could help me out with this, that would be great. I'm getting an unknown condition error @ line 10.
Skript version: 2.2-dev34
TuSke version: v1.8.2 (latest)

Thanks, Breakfast.

[doublepost=1529078718,1529078687][/doublepost]It seemed that my skript actually aligned with the text, so im going to make a pastebin for it now.
Put explosive in quotations
 
The example on the documentation says that it isn't required, but not sure
okay, i checked out the docs, and you are right, my apologies.
I copy and pasted your code and it didn't work, restarted my server and it works. I think its because it won't register the new enchantment until the skript actually loads. so give that a try
[doublepost=1529090285,1529090145][/doublepost]also change this line:

if level of custom enchantment Explosive is 1:

to this:
if level of custom enchantment Explosive of player's tool is 1:
 
Yeah if you use on skript load you have to restart your server to register the enchant. You can also use on load, then it registered when the script gets (re)loaded
 
Status
Not open for further replies.