Periodical event error

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

Riknesh

Active Member
Jun 9, 2017
76
2
8
Malaysia
How can i fix this error
code_language.skript:
[14:41:37 ERROR]: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (test.sk, line 38: set {_checkstaff} to placeholder "%%supervanish_vanishedplayers%%"')

this is the code
code_language.skript:
every 3 second:
    set {_online} to 0
    set {_checkstaff} to placeholder "%%supervanish_vanishedplayers%%"
    set {_checkstaff} to "%{_checkstaff}%"
    loop all players:
        "%{_checkstaff}%" does not contain loop-player:
            add 1 to {_online}
        
    set {online} to {_online}
 
Status
Not open for further replies.