1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Allowed commands not working.

Discussion in 'Skript' started by wCrazy_, Dec 2, 2021.

Thread Status:
Not open for further replies.
  1. wCrazy_

    wCrazy_ Member

    Joined:
    Jan 7, 2021
    Messages:
    15
    Likes Received:
    0
    Server version: Spigot-1.8.8
    Skript: v2.1.2

    Code (Text):
    1. on command:
    2.     if {kbffa.inarena.%player%} is true:
    3.         loop yaml list "Config.allowedCommandsInArena" from "diakbffa-config":
    4.             send "%loop-value%" # For check
    5.             if command is not "%loop-value%":
    6.                 cancel event
    7.                 send "you can not use command in arena!"
     
  2. oHeckGage

    oHeckGage Active Member

    Joined:
    Mar 24, 2020
    Messages:
    105
    Likes Received:
    5
    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.
     
  3. yea rite

    yea rite Active Member

    Joined:
    Jul 11, 2021
    Messages:
    73
    Likes Received:
    5
    i dont see where the loop started
     
Thread Status:
Not open for further replies.

Share This Page

Loading...