Event skript help

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

bebeli555

Member
Feb 6, 2020
28
0
0
25
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.
 

Attachments

  • Event.sk
    7.7 KB · Views: 136
May be try that

Code:
                if {lmsstarted} is false:
                    if {spleefplayers::%layer%} is set:
                        stop
                    else if {spleefplayers::%layer%} isn't set:
                        add player to {lmsplayers::*}
 
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
 
Status
Not open for further replies.