Solved add an item with enchantment

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

Cesify

Member
May 23, 2021
3
0
1
Hi there, i'm trying to code a KnockIT system, and stuck on adding items to the Inventory, So i want to add a Stick with Knockback 1 to the Inventory, code: give 1 stick named "§8» §eStick lvl 1" with lore "§8» §eKnockback level 1" of knockback 1 to player
 
This is in my KnockIT system:
Code:
set slot 0 of player to stick of knockback 1 named "&f&lSTOCK"

So you should change it to:
Code:
give 1 stick of knockback 1 named "§8» §eStick lvl 1" with lore "§8» §eKnockback level 1"
 
This is in my KnockIT system:
Code:
set slot 0 of player to stick of knockback 1 named "&f&lSTOCK"

So you should change it to:
Code:
give 1 stick of knockback 1 named "§8» §eStick lvl 1" with lore "§8» §eKnockback level 1"

if i do this i got this Error:

Code:
Can't understand this condition/effect: give 1 stick of knockback 1 named "º8╗ ºeStick lvl 1" with lore "º8╗ ºeKnockback level 1" (Knockit.sk, line 41: give 1 stick of knockback 1 named "º8╗ ºeStick lvl 1" with lore "º8╗ ºeKnockback level 1"')
 
Status
Not open for further replies.