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.

Event skript help

Discussion in 'Skript' started by bebeli555, Mar 5, 2020.

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

    bebeli555 Member

    Joined:
    Feb 6, 2020
    Messages:
    28
    Likes Received:
    0
    So i made this event skript. (download the file) but theres a problem that when u do /event and its the lms event. it doesnt add you to {lmsplayers::*} it works just fine on the spleef one it adds u and works good but in the lms one it for some reason doesnt add u to {lmsplayers::*} when you do /event and {lms} is true? Otherwise the skript works.
     

    Attached Files:

  2. ZeyKra_

    ZeyKra_ Active Member

    Joined:
    Dec 12, 2019
    Messages:
    109
    Likes Received:
    2
    May be try that

    Code (Text):
    1.                 if {lmsstarted} is false:
    2.                     if {spleefplayers::%layer%} is set:
    3.                         stop
    4.                     else if {spleefplayers::%layer%} isn't set:
    5.                         add player to {lmsplayers::*}
     
  3. Lego_freak1999

    Lego_freak1999 Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    664
    Likes Received:
    45
    %player% instead of %layer% or is that a custom type for spleef layers xd
     
  4. ZeyKra_

    ZeyKra_ Active Member

    Joined:
    Dec 12, 2019
    Messages:
    109
    Likes Received:
    2
    xD sorry i'm so idiot I typed layer instead of player
     
  5. bebeli555

    bebeli555 Member

    Joined:
    Feb 6, 2020
    Messages:
    28
    Likes Received:
    0
    Oh i figured it out it was all working but i had accidently set lmsstarted to true sometime and it messed up the skript so i made a command to set it to false and now it works
     
  6. ZeyKra_

    ZeyKra_ Active Member

    Joined:
    Dec 12, 2019
    Messages:
    109
    Likes Received:
    2
    congatas , Mark this post As solved :emoji_wink:


    (can you give me a like uwu ??(I u want ))
     
Thread Status:
Not open for further replies.

Share This Page

Loading...