Solved Problem with skript GUI

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

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

IHaveNoName

New Member
Feb 1, 2018
9
0
0
25
I'm sure this has a simple fix such as downloading the right skQuery version but I cant seem to solve this issue.
Minecraft version: 1.8
Skript Version: 2.2-dev25
Addons: SkQuery, SkRayFall

code_language.skript:
command /promote <player> <text>:
    description: Promote staff
    permission: promote.staff
    trigger:
        execute command "manudelsub %arg 1% trainee"
        execute command "manudelsub %arg 1% mod"
        execute command "manudelsub %arg 1% srmod"
        execute command "manudelsub %arg 1% admin"
        execute command "manudelv %arg 1% suffix"
        execute command "manuaddsub %arg 1% %arg 2%"
        open chest with 1 rows named "Staff GUI" to %player%

gives me the error:
Yyba4uPbR-2rwAYYaXQPCQ.png



If I'm using the wrong version of SkQuery pls link me to a working version.

Unrelated:
I want to create a simple if statement to see if an argument is equal to a certain string. I tried doing this:
code_language.skript:
if {%arg 1%} is "trainee":
    message "Works"
but it doesn't work.
A solution to this would be equally as usesful



thanks
 
Last edited:
Status
Not open for further replies.