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.

skript-reflect how do i add `or` to custom conditions?

Discussion in 'Skript' started by Zackwall, Apr 29, 2022.

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

    Zackwall New Member

    Joined:
    Apr 21, 2022
    Messages:
    6
    Likes Received:
    0
    Does anyone know how to add an `or` to a custom condition? i tried this
    Code (Text):
    1. condition minigame %string% %player% status is %string% [or %string% [or %string%]]:
    it works when i do
    Code (Text):
    1. if minigame "test1" player status is "test2" or "test3" or "test4":
    but when i do
    Code (Text):
    1. if minigame "test1" player status is "test2" or "test3":
    the entire command just deletes itself or something
     
  2. Jayden13O

    Jayden13O Member

    Joined:
    Jun 9, 2021
    Messages:
    22
    Likes Received:
    1
    Code (Text):
    1. if x = y or z = a:
    if i'm correct
     
  3. Zackwall

    Zackwall New Member

    Joined:
    Apr 21, 2022
    Messages:
    6
    Likes Received:
    0
    thats not what i meant
    i just need information on how to add an `or` to the custom condition
    Code (Text):
    1. condition minigame %string% %player% status is %string% [or %string% [or %string%]]:
    because `[or %string% [or %string%]]` doesn't work
    --- Double Post Merged, Apr 30, 2022, Original Post Date: Apr 29, 2022 ---
    bump
     
  4. Jayden13O

    Jayden13O Member

    Joined:
    Jun 9, 2021
    Messages:
    22
    Likes Received:
    1
    isn't that exactly what i said?
    condition minigame "test 1" is "test 2" or "test 1" is "test 3"
    something like that
     
Thread Status:
Not open for further replies.

Share This Page

Loading...