Anvils

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

Meggy_Mode

Active Member
Aug 30, 2024
206
8
18
So i have this older skript and its not working anymore and i did read the docs but i cant get it to work, can some one help?



code_language.skript:
command /stareforge:
    trigger:
        open virtual anvil inventory named "&6Star Forge" to player

on anvil prepare:
    if name of event-inventory is "&6Star Forge":
        set {_left} to slot 0 of event-inventory
        set {_right} to slot 1 of event-inventory

        if {_left} is stick:
            if {_right} is diamond:
                set event-result to diamond sword named "swordie sword"