Allowed commands not working.

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

wCrazy_

Member
Jan 7, 2021
15
0
1
24
Server version: Spigot-1.8.8
Skript: v2.1.2

Code:
on command:
    if {kbffa.inarena.%player%} is true:
        loop yaml list "Config.allowedCommandsInArena" from "diakbffa-config":
            send "%loop-value%" # For check
            if command is not "%loop-value%":
                cancel event
                send "you can not use command in arena!"
 
It would be helpful to know the issue before hand lol. Can't do anything about it if we don't know your issue. Ex: is it just not working, or is there an error in your code, is there an error in console, etc. etc.
 
Server version: Spigot-1.8.8
Skript: v2.1.2

Code:
on command:
    if {kbffa.inarena.%player%} is true:
        loop yaml list "Config.allowedCommandsInArena" from "diakbffa-config":
            send "%loop-value%" # For check
            if command is not "%loop-value%":
                cancel event
                send "you can not use command in arena!"

i dont see where the loop started
 
Status
Not open for further replies.