Command doesn't 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!

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

OfficialRG

Member
Jun 18, 2021
24
0
1
Hello,
I need help cause my command isn't working
Code:
command /sc [<text>]:
  trigger:
        if sender has permissions "sc.reload" or "sc.*":
            if arg-1 is "reload":
                reload skript "skriptcloud"
                send "%{P}% Die SkriptCloud wurde neugeladen."
so i doesn't get the message and the skript doesn't get reloaded
 
Hello,
I need help cause my command isn't working
Code:
command /sc [<text>]:
  trigger:
        if sender has permissions "sc.reload" or "sc.*":
            if arg-1 is "reload":
                reload skript "skriptcloud"
                send "%{P}% Die SkriptCloud wurde neugeladen."
so i doesn't get the message and the skript doesn't get reloaded
Not quite sure, but it must be something wrong with the 3rd line so maybe try changing it a little bit like this?

Code:
command /sc [<text>]:
  trigger:
        if player has permission "sc.reload" or "sc.*":
            if arg-1 is "reload":
                reload skript "skriptcloud"
                send "%{P}% Die SkriptCloud wurde neugeladen."

Usually that's how I do it and I don't get any issues so maybe it'll work, not sure though didn't test yours or mine.
 
Not quite sure, but it must be something wrong with the 3rd line so maybe try changing it a little bit like this?

Code:
command /sc [<text>]:
  trigger:
        if player has permission "sc.reload" or "sc.*":
            if arg-1 is "reload":
                reload skript "skriptcloud"
                send "%{P}% Die SkriptCloud wurde neugeladen."

Usually that's how I do it and I don't get any issues so maybe it'll work, not sure though didn't test yours or mine.
i doesn't use player beacause the console can't execute the command anymore
 
Status
Not open for further replies.