#I've been given quite a few skripts by ChatGPT but none of them seems to work. (This is one of them)

1 messages · Page 1 of 1 (latest)

winged pagoda
#

set {_player.count} to 0

Loop through all online players

loop all players:

Check if the player is in the "EventWorld" multiverse

if player's world is in multiverse "EventWorld":
# Increment the player count
add 1 to {_player.count}

Output the player count

send "There are currently %{_player.count}% players in the EventWorld multiverse." to console

(This is part of the title, I just didn't have space for it.)

Tutorials also doesn't work, and neither does for example what works for other people on Reddit. I have the only version that I could find on the github installed on my server. But some things just won't work. I don't know if there's something wrong in the code or if some features just isn't supported for me or something.

placid river
#

dont use chatgpt to generate scripts

winged pagoda
#

Alright, but is there a way to make a skript that checks how many players there are in a multiverse?

placid river
#

make sure to check the docs first

#
winged pagoda
#

Just a question, things run without executing a command for it right?

#

Cause all I've done before this is commands

#

So I just want to make sure

green pilot
#

yeah but u need an event

#

like for example
on damage of player: or something

#

or u can make a function

paper jewel
#

ChatGPT is unfortunately really bad at skript ;/

green pilot
#

oh yeah

#

its really bad especially now that they make so many restrictions