#i want to apply multiple potion effects to a player, is this how it works? (idk how to make a lists)
1 messages · Page 1 of 1 (latest)
lists are just set {your-list::*} to thing1, thing2, and thing3
oh
you also have a lot of other issues going on
like?
too many to name rn
i suggest taking a look at some beginner tutorials, i'll send a few links
Well for one, the if statement has a randomly placed :, that should be at the end of the line
Also skript doesn't know what The RealCrabex is
You gotta make it a string and parse as a player
like this?
if command sender is "TheRealCrabex":
Finally, the variables section isn't what you should be using there
It only sets the variable if it isn't set, meaning it won't overwrite any values if you decide to change the string
Instead, use an on load event
Gotta parse as player too
"something" parsed as player
For example
if command sender is parsed as "TheRealCrabex":
like that? bro i cant this im so dumb please forgive me
See here
i still dont understand
oh so "TheRealCrabex" parsed as player?
Mhm
In general you should never be hardcoding names into your code tho
yeah ik its just a test
i will replace it later
so is this all?
like all the issues are solved?
Well does your code work?
and the final code should look like this
Nah you should not be using the variables section
But overall it's a lot better
oh so where should i put it?
See here
like that?
Yup!
omg finally i did something rigt
alr ima test it
oh and btw what host do you recomend for quick tests like this?
i cant use home cuz my internet sucs
sucks*