Solved How to set some specific args?

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

Pingusate

Active Member
Mar 29, 2018
50
4
8
I want to create a new script, so i want the command to be like this
code_language.skript:
command /test [<text>]:
    trigger:
        send "&6test by Pingusate"
        send "&3Use /test help for more informations"
        send "&6Version: 1.11"
    if arg 1 is "help" or "cmds":
            send "&7&m------------------------&c&m------&7&m------------------------"
            send "&6/test &7Shows information about the script."

The "if arg 1 is "help" or "cmds" doesn't work.
it Unexpected entry 'if arg 1 is "help" or "cmds"'. Check whether it's spelled correctly or remove it.

Does it need an addon or what? please answer asap.
Dont take care about the /test thing. just the if arg 1 is "help"
 
Status
Not open for further replies.