set slot flint and steel doesnt work

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

RedEpic

Member
May 12, 2020
2
0
0
78
command /hiken3:
permission: devil.fruit.hiken3
trigger:
if slot 8 of player's current inventory is not air:
set slot 8 of player's inventory to flint and steel named "&6Hiken" with lore "Just need one hit to Kill em!"
make console execute command "/hiken4"

It works successfully in the console no errors
but the slot doesnt changed into flint and steel ? is there any wrong format?
[doublepost=1589278553,1589278512][/doublepost]tab & spaces already set up
[doublepost=1589278731][/doublepost]Plugins/Addons:
Skript
Skellet
skRayFall
skQuery
Every Addons is updated to latest (supported version)
Minecraft Version 1.12.2 (PAPERSPIGOT)
 
The if statement is wrong.
Code:
command /hiken3:
    permission: devil.fruit.hiken3
    trigger:
        if slot 8 of player's inventory is not air:
              set slot 8 of player's inventory to flint and steel named "&6Hiken" with lore "Just need one hit to Kill em!"
               make console execute command "/hiken4"

Make sure that the tabbing is correct. That should work though ^^^