GETTING AN ERROR ON if arg-1 is "load"

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

ME_IS_KIRK

Member
Jul 3, 2024
2
0
1
[10:31:00 INFO]: [Skript] Reloading kit.sk...
[10:31:00 INFO]: Line 5: (kit.sk)
[10:31:00 INFO]: indentation error: expected 3 tabs, but found 4 tabs
[10:31:00 INFO]: Line: execute player command "personalkits:k1"
[10:31:00 INFO]:
[10:31:00 INFO]: Line 6: (kit.sk)
[10:31:00 INFO]: indentation error: expected 3 tabs, but found 4 tabs
[10:31:00 INFO]: Line: execute console command "heal %player%"
[10:31:00 INFO]:
[10:31:00 INFO]: Line 4: (kit.sk)
[10:31:00 INFO]: Can't compare 'if arg-1' with a text
[10:31:00 INFO]: Line: if arg-1 is "load"
[10:31:00 INFO]:
[10:31:00 INFO]: [Skript] Encountered 3 errors while reloading kit.sk! (56ms)
 
Please share your full script using [code]...[/code]
 
Code:
command shop <text>:
    trigger:
        if arg-1 is "sellwand"
            execute player command "dm open sellwand"
        else:
            if arg-1 is not set:
                execute player command "shopguiplus:shop"