#how do I make a player spawn with a item?

1 messages · Page 1 of 1 (latest)

modest plume
#

I want to make it so each player will spawn into the server with a wool that has a bunch of nbt so its a one of a kind wool that they will only ever get from spawning into the world for the first time should not be able to place wool or drop wool also I have no idea how to do this I guess the first step would be:
on player join: and then set a id or something like that idk

vital saffron
#

on first join and give

#

readthedocs before you make a post

#

if you encounter a little bump in your journey that doesnt mean you immediately make a post, try yourself first

shrewd bison
#

use player's uuid to make the wool unique BreShrug

modest plume
#

I did read the docs

#

am just bad at searching in the docs

#

and it was not a little bump I have no idea how to do this accpet for the on join event

vital saffron
#

except

modest plume
#

?

vital saffron
#

"except", not "accept". except you used "accpet"

modest plume
#

oh

#

how does that help me with this skript problem?

vital saffron
#

it doesnt

modest plume
#

bruh

vital saffron
#

i told you everything you need in the first message.

modest plume
#

no

#

that doesn't help

modest plume
modest plume
vital saffron
modest plume
#

why you use "first" in there

vital saffron
#

i don't send impertinent messages

vital saffron
modest plume
#

oh ok

vital saffron
#

that means you won't get the item as you have already been on the server. dont complain here when you dont get it

modest plume
#

am not complaining?

modest plume
#

so I used the event

#

now what

vital saffron
#

i cant tell you what to do all the time, think and try things for yourself

modest plume
#

no

#

the Item need nbt

#

also I need to make it random chance on what item they get

#

red wool, lime wool, purple wool, light blue wool, white wool.

vital saffron
# modest plume the Item need nbt

gosh, if only you listened when i said it would be a good idea to do that then. now you'll have to go through all your conditions and change it from "green wool" to "green wool named "awfiawug"".

vital saffron
modest plume
#

why do you expect me to know all of this

vital saffron
#

if you dont, readthedocs

#

and you are expected to know the basics

modest plume
#

I AM READING THE DOOCS

#

HOW MANY TIMES DO I HAVE TO TELL YOU

vital saffron
#

well you keep missing things then

modest plume
#

yeha

#

thats what am trying to say x...

modest plume
#

hi

jolly owl
#
     set player's uuid to {_uuid}
     give {_uuid} blue_wool named "&bSpecial Wool"
     

on drop:
     if player's dropped item is blue wool named "&bSpecial Wool"
     cancel event
      send "&cYou can't drop the special wool."```
#

This is the only time I skript you something, if you ask for such an simple skript again I'm reporting you for asking for skripts in a skript help server / forum

modest plume
#

bruh

#

ok

#

isn't that false reporting?

jolly owl
#

No

#

Just try the skript and tell me if it works

modest plume
#

Error on
Line 119
Goto Line
the UUID of the player can't be set to anything
set player's uuid to {uuid}
Error on
Line 120
Goto Line
indentation error: expected 1 tab, but found '->
' [-> = tab, _ = space, ? = other whitespace]
give {_uuid} blue_wool named "&bSpecial Wool"
Error on
Line 122
Goto Line
Can't compare 'player's dropped item' with an item type
if player's dropped item is blue wool named "&bSpecial Wool":

#

I don't think it works

#

I mean it doesn't work

#

and its not simple for a beginner

vital saffron
#

w h a t

#

there are so manythings wrong with that

strong zinc
#
     #set player's uuid to {_uuid}
     give player blue wool named "&fName Here"
     

on drop:
     if event-item is blue wool named "&fName Here":
       cancel event
       send "&cYou can't drop the special wool."```
#

Cant indent properly on an iphone

vital saffron
strong zinc
#

Although tabs are way more convient

modest plume
vital saffron
#

i thought you already had a script...

modest plume
#
    #set player's uuid to {_uuid}
    give player blue wool named "&fName Here"
on drop:
    if event-item is blue wool named "&fName Here":
        cancel event
        send "&cYou can't drop the special wool."```
modest plume
vital saffron
#

why do you always remove the empty lines?

#

youre only making it messier

modest plume
#

bc there useless

vital saffron
#

no they arent

#

they're*

modest plume
#

yes they are

vital saffron
modest plume
#

no

vital saffron
#

yes

modest plume
#

no

vital saffron
#

yes

modest plume
#

am not reading that

#

its useless just like the space

vital saffron
#

Well i’m sorry for trying to help and explain things again

modest plume
#

bruh

vital saffron
#

your unwillingness to learn and make an effort is the reason youre still struggling with things like this

modest plume
#

no

vital saffron
#

yes

modest plume
#

no

vital saffron
#

yes

modest plume
#

thats a random thing I don't need

#

it has nothing to do with my skript

#

I can add spaces if I want

vital saffron
#

both of those statements are wrong

modest plume
#

it does not look messy

vital saffron
modest plume
#

no

#

I will never

vital saffron
#

yes

modest plume
#

it looks weird

vital saffron
#

do you realise how childish youre acting?

modest plume
#

no

vital saffron
#

ofc, what did i expect

modest plume
#

am not acting childish

#

I just don't want to add spaces

#

it makes the code look weird and messy

#

in my optinion

vital saffron
#

quite the contrary

vital saffron
modest plume
vital saffron
#

and thats fine, but you dont have to untruthfully insinuate that your way is always best whilst knowing absolutely nothing about the alternative

modest plume
vital saffron
#

your opinion is biased, quite heavily

modest plume
#

its liertally just a space

#

theres nothing to learn

#

I can try in rn

modest plume
#
    #set player's uuid to {_uuid}
    give player blue wool named "&fName Here"



on drop:
    if event-item is blue wool named "&fName Here":
        cancel event
        send "&cYou can't drop the special wool."```
#

see

#

done

#

I tryed it

vital saffron
modest plume
#

I do know the alternative

#

idk

#

am differnet

vital saffron
modest plume
#

you have to scroll less

#

less lines

#

simpler code

vital saffron
#

those are the benefits for less spaces.

modest plume
#

huh

vital saffron
#

you say you understand the adding spaces.

modest plume
#

idk what your talking about

vital saffron
#

youre*

#

you genuinely need to make an effort and be open to learning if you want to improve

modest plume
#

saying that over and over again won't change my opinion

#

I like no spaces better

#

end of story

vital saffron
#

im not talking about spaces right now

#

im talking about your attitude

modest plume
#

I just don't like spaces bruh

#

its my opinion

#

I don't like it ok

vital saffron
modest plume
#

yes you are

vital saffron
#

no, im not

modest plume
#

my attitude is about the spaces

vital saffron
#

your attitude is about not wanting to learn and make an effort

modest plume
#

no

vital saffron
#

yes

modest plume
#

my attitude does not want to use spaces

#

END OF STORY

vital saffron
#

thats an aspect of it, yes, but your attitude hinders you in more ways than that

modest plume
#

can we just get on tos skripting now

vital saffron
modest plume
#

yes

#

you are

#

your talking about my attitude

vital saffron
#

youre*

modest plume
#

idc

modest plume
#

no about the correction

#

idc about the correction

vital saffron
modest plume
#

my attitude is fine I just don't want to do spaces ok

modest plume
#

I do want to learn

vital saffron
modest plume
#

no

#

just the spaces

vital saffron
#

do i need to waste my time searching through old messages just for you to deny it again?

modest plume
#

no

modest plume
vital saffron
#

this is my point. You are so stubborn and arrogant, thats not helping you learn

modest plume
#

I don't know what either of those words mean..

vital saffron
#

well, you have the internet at your disposal

modest plume
#

yeah

vital saffron
#

i know you're young, and no one really expects much from you at that age, but you will need to accept accountability and responsibility

modest plume
#

how young do you think I am?

vital saffron
#

from what ive seen i'd guess youre 9 at most.
If you're any older than that your actions are even more inexcusable.

#

i'm not sure what the rules are regarding others ages, so im gonna make it clear that i don't actually care, and am not looking for a relationship with a minor

arctic mulch
#

not within the bounds of discord tos age requirement, that's for sure

#

any 13 year old knows the definition of stubborn or arrogant; most likely both

vital saffron
#

unfortunately you do need a message of them stating their age to report them :(

modest plume
#

what

arctic mulch
#

if you can't understand basic sentences, i don't think coding is the right thing for you

modest plume
#

well am not 9

arctic mulch
#

good for you

#

now i'd suggest listening in english class on how to read, write and formulate an argument

vital saffron
#

honestly im not sure if youre older or younger lol

modest plume
#

bruh

arctic mulch
#

your job here is to ask for help after you've already tried something; you insist on not trying anything, refusing to read the documentation, arguing against anyone who tries to help you, spamming in your multitude of threads after mere hours of inactivity with useless messages, intentionally organizing your code poorly without care for whoever else might need to read it in order to help you (as you keep requesting) and then refusing to actually listen to what people have to say

#

we do not sit here and look at threads hoping to see another child saying "you're mean, bruh, i need help" and spend hours trying to explain the basics of both skript and the english language to them

#

we do this because we enjoy coding and teaching others

#

so stop making this the most painful experience we've ever had on this server

#

and maybe think a little about the people you're asking for help from

vital saffron
#

this is your reaction to the many resources i send

vital saffron
#

did you think we were paid?

modest plume
#

that was not my reaction I was just hesitant to read it all but that was not helpful my code does not need spaces bruh I don't like spaces in my opinion the spaces make it look worst and are a waste of lines but that is just my opinion ok I don't like spaces you can use them as you like am not saying my method is better in any way its just a opinion and yes it is vaild because I have tryed both methods and in my opinion I like no spaces

#

I didn't try to add any periods or commas

#

also I don't think you get paid but I didn't know you enjoyed it

modest plume
vital saffron
#

those "tags" are called "comments"

#

i also went over those in that page

modest plume
#

oh ok

vital saffron
#

"that was not my reaction I wasn't just hesitant to read it"
Thats our point... if you want to learn you shouldnt be hesitant to gain information...

#

worse*, not worst

#

tried*

modest plume
#

bruh

#

stop correcting me thats not my point

#

its not suppose to say "wasn't"

vital saffron
#

supposed*

modest plume
#

this is why we agrue so much

vital saffron
modest plume
#

this is a skript help server.......

#

not english

#

not grammar

vital saffron
#

thats a part of anywhere

#

we're just saying you should also apply yourself in school

modest plume
#

you are lietallry trying to agrue with me

#

you knoq nothing about my life

#

you no nothing about my grade

#

you don't know what school I go to

#

you no nothing about my real life

#

know*

vital saffron
#

you used the right "know" in the third one

#

but not 1, 2, 4

vital saffron
modest plume
jolly owl
#

Listen x8ight is right

#

The spaces are extremely important.

modest plume
#

I'll use comments to separate and organize my skript

vital saffron
#

those are also recommended

jolly owl
#

AxolotlMello I suggest you leave. This is skript help not skripts

modest plume
#

what??????

vital saffron
modest plume
#

no

#

that correction was for all of them

vital saffron
#

you sent the "know*" message, but then only edited one

modest plume
#

bc it was to much to edit when I already corrected it

jolly owl
#

Axolotl please delete this thread. And leave this server until you learn how to actually skript

#

@modest plume yeah ur lazy af

modest plume
#

bruh

vital saffron
#

can you actually try to listen to what we're saying

modest plume
#

your just correcting my messages...

vital saffron
#

youre*

modest plume
#

see

#

your not trying to say anything

vital saffron
jolly owl
#

x8ight leave him alone we are just wasting our time on trash

modest plume
#

I do listen

vital saffron
#

this is the 3rd time youve tried to argue that

jolly owl
#

This argument is too long now u guys still might get muted for 1 day

modest plume
#

I just didn't want to use spaces because you said it was to help organize but I don't think so its a opinion and I said I'd use comments instead

vital saffron
#

im done with your pathetic reasoning. If you want to prove your point or justify any of your actions, sit down and actually put some thought into what you're writing.

modest plume
#

bruh

#

all this about spaces

vital saffron
#

no.

modest plume
#

yes

vital saffron
#

this was about your lack of effort, stubbornness, and arrogance. The spaces were a part of that, but certainly not the entirety

#

maybe before denying this you should figure out what those words mean

modest plume
#

this is about the spaces tho that is the whole reason were in this agurement rn

#

ok

#

oh

#

I guess I am a bit stubborn

#

am definitely not arrogant tho

vital saffron
#
  1. You have stubbornly attempted projects whilst struggling with the basics
  2. You blatantly disregarded advice even though numerous people told you it was a bad idea
  3. You assume your way is always best, and deny any mistakes you make
modest plume
#

I don't deny any mistakes I make bruh

vital saffron
#

you also dismiss other's viewpoints and ideas

modest plume
#

that was only spaces and two people told me that

#

I agree with the first one tho

#

2 and 3 are wrong

vital saffron
#

oh, and i forgot the most prominent one: you refuse to take the time to look at tutorials and the documentation

modest plume
#

I don't refuse

vital saffron
#

this point is so blatantly false im not gonna even try

modest plume
#

no

#

its not

#

am hesitant

#

but I do read it

vital saffron
#

only when you get stuck and realise your foolishness. a situation which reoccurs instead of you learning

modest plume
#

no

#

that is not what happens at all

vital saffron
#

no

#

US english is not the only english

modest plume
#

ik

vital saffron
#

fuse vs fuze
colour, favour vs color, favor
realise vs realize

modest plume
#

just use normal english

vital saffron
#

US is only normal in the US

modest plume
#

ik

vital saffron
#

well, maybe im not from the US? did you think of that

modest plume
#

wait do you live in the US?

#

yeah

vital saffron
#

US english only exists because they couldnt be bothered to learn the correct way and decided to modify it

modest plume
#

ik

vital saffron
#

by "correct" i mean original and widely preferred

modest plume
#

ok

vital saffron
#

You have literally ticked every. single. box. on the "what not to do" list:

  1. Refused to make an effort and attempt things and solutions before making a post
  2. Refused to learn via tutorials and docs, or employ these excellent resources before nagging others for basic information
  3. Struggled with not only basic coding skills, but basic critical thinking, and elementary comprehension
  4. Acted entitled, immaturely, obnoxiously, vainly, and disrespectfully towards a multitude of people who attempted to assist you out of kindness

you have provoked and disrespected these numerous peoples:

  1. x8ight, RaGe Grimm, TobyMinecraft, rrl6; some of the most active and eager people here.
  2. Many others who were in one (or two, or more) of your posts (THE SEVENTEEN in your first post! SEVENTEEN! Do you realise the magnitude of that?!)
  3. BaeFell (the OWNER of the server (who, admittedly, only showed up because it seemed the parser wasnt working))
  4. and a moderator/admin (idk they changed the role names to xmas themed ones)

I know that you are young, and at that age no-one expects much in terms of results or capabilities, and you can get away with some things because you "didnt know any better", but you still need to, at the bare minimum, act with human decency and morals. You will not always be able to rely on your youth to excuse your actions or dissipate others' arguments, nor is that a strategy you should eagerly employ to avoid accountability and responsibility.

Your actions are pathetic and immature. I am not here to ridicule you, and i take no joy in it (although i do see it as well overdue comeuppance), but you need to acknowledge this and change. If you can't do that, you are unworthy of other's time and effort.

#

i dont want to be mean or forceful, but nothing else seems to work on you, and you desperately need a wake-up call

modest plume
#

Sense when was there a "'what not to do' list"

#

Baefell was pinged by someone else

#

Also how many times do I have to tell you I did not refuse to do any of that stuff

#

I said sorry

vital saffron
modest plume
#

Also the only person I disrespected is RaGe Grimm because of that one time I spammed him and I said sorry for that

vital saffron
#

spam pinging is not the only form of disrespect

modest plume
#

I don't remember TobyMinecraft

vital saffron
#

maybe that attributes the the quantity of people you've upset

modest plume
#

I have only upset you and RaGe Grim

#

oh and rrl6

#

because we are constantly agruing

#

also

vital saffron
#

if you have to keep tweaking your statements as you realise theyre wrong and im right then maybe you should open your mind

modest plume
#

what am I tweaking...

#

It does not say edited anywhere

vital saffron
#

first, you only upset RaGe Grimm. then me and him, then rrl6 as well

modest plume
#

I already said that

#

and that is proven throught are constant argue

vital saffron
#

that is the tweaking. you realised you were wrong and had to correct yourself

modest plume
#

wdym?

#

You guys are stuck in the past

#

You keep rementioning thing I have done in the past

vital saffron
#

and you seem too hurried to move on

modest plume
#

I didn't refuse anything

#

and I never have

vital saffron
#

you just did

modest plume
#

yes I spammed Rage Grim am sorry for that and I said sorry for that

modest plume
#

I mean I didn't refuse the stuff you said I refused in your paragraph

#

this agruement will never end

vital saffron
#

because you refuse to change and acknowledge your actions

modest plume
#

this is about the spaces again

vital saffron
#

no, its not.

#

why do you keep getting tunnel vision on the most recent incident?

modest plume
#

because its the only thing I didn't want to do

modest plume
vital saffron
#

"refusing" is not limited to verbal statements of non-compliance

#

although there were a fair amount of those too

vital saffron
#

maybe its easier for you to think of "unwillingness"

errant gale
#

Alrighty who wants help

#

How would one help?

cobalt matrix
#

stop arguing ya bitches

#

do some skript

errant gale
#

and let me help yall

#
on respawn:
  respawn reason is death
  give player stone
cobalt matrix
#
    give player wool named "welcome!"on first join:


errant gale
#

both both are good

uncut perch
#

Bro this infinite argumentation ☠️

acoustic yew
#

this thread is so bad 💀 😭

strong zinc
#

I wonder what would happen if i fed ai with this entire thread

#

Dont mind if i do

vital saffron
#

No please

#

Its already bad enough at skript

strong zinc
modest plume
#

To be more specific I want to it so when a player first joins the world spawn with a random wool color these wool colors are lime wool, light blue wool, purple wool, white wool, and red wool. I want each of these wools to be named and to be, unplaceable, undropable, and keep in invetory after death. So far we have two of these done these two being when they first join they spawn with light blue wool still not random yet and undropable only for the light blue wool tho:

    #set player's uuid to {_uuid}
    give player blue wool named "&fName Here"
on drop:
    if event-item is blue wool named "&fName Here":
        cancel event
        send "&cYou can't drop the special wool."```
unique sail
modest plume
#

ok

unique sail
#

tell me if it has any errors

modest plume
#

ok

#

there were some errors

#

Error on
Line 131
Goto Line
Can't understand this condition/effect: set tag "custom;realwooltoplaceelsenoplaceyplaceythisisabignbttaglolhaha" to true
set tag "custom;realwooltoplaceelsenoplaceyplaceythisisabignbttaglolhaha" to true
Error on
Line 133
Goto Line
Can't understand this condition: '%nbt compound player's tool% contains "realwooltoplaceelsenoplaceyplaceythisisabignbttaglolhaha"'
if %nbt compound player's tool% contains "realwooltoplaceelsenoplaceyplaceyth

vital saffron
#

Why dont you just create a list of the wools

#

Then give a random element on firs join

#

Then for place/drop, check if the list contains and cancel

modest plume
#

Because idk how to do that

vital saffron
#

Well

#

Just set {wool::green} to green wool named “emerald”

vital saffron
modest plume
#

oh ok

#

I didn't know it was a cancel event

#

I thought it was a nbt tag

#

but what about the other stuff

vital saffron
#

What other stuff

#

The list? Thats basic and i gave you an example

modest plume
#

the random wools

vital saffron
modest plume
#

wdym random element

vital saffron
#

You were literally given examples of giving stuff on first join

modest plume
#

ik

vital saffron
modest plume
#

how I make a random element

vital saffron
modest plume
#
    #set player's uuid to {_uuid}
    give player blue wool named "&fName Here"
on drop:
    if event-item is blue wool named "&fName Here":
        cancel event
        send "&cYou can't drop the special wool."
on place:
    if event-block is blue wool named "&fName Here":
        cancel event
        send "&cYou can't place the special wool."```
vital saffron
modest plume
modest plume
#

oh

#

wait

#

that is just one wool tho

vital saffron
#

Yeah, do it for the rest of them too

modest plume
#

ok

#
set {wool::purple} to purple wool named “amyetest”
set {wool::white} to white wool named “feather”```
#

like this?

vital saffron
#

Sure

modest plume
#

ok

#

so

#

how do I use this list?

#
set {wool::purple} to purple wool named “amyetest”
set {wool::white} to white wool named “feather”
set {wool::red} to red wool named “fire”
set {wool::light blue} to light blue wool named “amyetest”```
vital saffron
#

{wool::*}

modest plume
#

remove the space between the :?

vital saffron
#

Sovdes gitbook goes over lists.

modest plume
#

ok

vital saffron
#

You should look at it

modest plume
#

send me the link

vital saffron
#

Lists are one of skripts best tools and you should be well versed in them

vital saffron
vital saffron
modest plume
#

umm

modest plume
vital saffron
#

Theres no spaces in that message

modest plume
#

nvm

#

# the following is not code, it's just a representation of the list
list::1 -> "hey"
list::2 -> "how"
list::3 -> "are"
list::4 -> "you"
list::5 -> 55```
#

wait

modest plume
vital saffron
#

Well, then you would have to give ::8

modest plume
#

huh

vital saffron
#

And you might not remember each colour/wool

modest plume
#

I can just put the color wool in the list

vital saffron
#

So by specifying the index you basically keep the organization and functions of a list but less confusion

vital saffron
modest plume
#

oh

#

umm

#

it says lists on in progess

#

so I can't read the page

#

I think I have a idea on how to make it random tho

vital saffron
#

random element of [list]

modest plume
#

oh

#

I was gonna loop the list a random amount of times

vital saffron
#

Thats not what a loop does

#

You mean generate a random index

modest plume
#

and then what ever it lands on it will send or something

#
loop {_list::*}:
    send "%loop-index% - %loop-value%" to player
random element of {list::*}```
#

like this?

#

help

#

I was trying to do something

#

its broken

#

look

#

why is it repeating the words over and over again

vital saffron
#

Nooooooo

modest plume
#

what

vital saffron
#
  1. Else ifs exist
  2. Just check if the list contains the offhand
  3. Literally just cancel (the) event, you dont need to put the event in
modest plume
#

what is it repeating tho

vital saffron
#

Why?

#

Idk, probably user error. Maybe you copy pasted it a bunch

#

Or shift-clicking i think allows you to type in two places at once

modest plume
#

I didn't

#

I just wanted to create a new skript : (

#

it has a mind of it own

#

its just pasteing random stuff over and over again

vital saffron
#

Reload the page

#

Clear browsing data

modest plume
#

bro what

#

is someone in my account

#

I deleted it and now its doing the same thing

vital saffron
#

Did you do either of my suggestions

#

Do you have a macro running? The parser open in another tab/window?

#

Just relaunch your browser

modest plume
#

no

#

ok

#

wait how do you save parser because when I create a new file then press save as a there are no options to save it as so I create a new file and press save it as that then I try to close the old file and that happens

vital saffron
#

What

modest plume
#

NOOO

#

NOOOOOOOOOO

vital saffron
#

Just download it

modest plume
#

ITS HAPPENING TO MY WOOL SKRIPT NOW

vital saffron
#

Or copy paste into offline editor

modest plume
#

MY WOOL SKRIPT HAS 50k LINES

vital saffron
#

Did you do any of my suggestions

#

This was avoidable

modest plume
#

ill close it

#

relaunch I mean

#

I have no marco or autoclicker tho

#

it has 74k lines'

#

am delete it all rn

#

omg

#

its undeleteable

#

I have 100k lines now

#

its going up bruh

#

wtf is happening

#

pls help me

#

after 500k lines

#

now the entire skript is deleted

#

nvm back to 600k lines

#

x8ight what is happening

#

I think someone is on my account

vital saffron
#

Just restart the browser

modest plume
#

I did

#

it had 1 million lines bruh

vital saffron
#

Did you clear browsing data?

modest plume
#

whenever I get back on the skript it keeps making more lines

#

wdym clear browsing data

vital saffron
vital saffron
modest plume
#

wdym

vital saffron
#

Depending on your browser

#

Clear history, cookies, cache data, everything

modest plume
#

ok

#

I did it

#

it

vital saffron
#

Good job

modest plume
#

I just deleted the file tho because it wouldn't stop

vital saffron
#

You had 3 lines, easy enough to rewrite

modest plume
#

no

#

then it happened to my main file

vital saffron
#

I assume you have it saved offline

#

Or on the server

#

Not just in the parser

modest plume
#

yeah

#

I think everything is fine now

#
    give player random element of {list::*}
set {list::*} to "red wool", "light blue wool", "white wool", "purple wool" and "lime wool"
loop {_list::*}:
    send "%loop-index% - %loop-value%" to player
random element of {list::*}```
vital saffron
#

Well not exactly

#

If the list were to be deleted

#

You would want the set line before give

#

But honestly define the list on load

#

Theres no need to set it every join

#

And give it a better name

modest plume
#

ok

vital saffron
modest plume
#

ok\

#

maybe skunity is broken

#

first the parser button wouldn't click

#

second the skripts were being copied and pasted thousands of times

#

third now its stuck in status parsing

modest plume
vital saffron
modest plume
#

??

vital saffron
#

That doesnt mean put those lines in without an event

#

On load

#

Not on nothinng

modest plume
#

what?

vital saffron
#

O n l o a d

modest plume
#

what does that mean

vital saffron
#

Thats the structure youre missing

modest plume
#

oh

slate lynx
#

I still can't believe the most simple question has 500 comments rip

modest plume
#

so do I replace of first join with on load?

#

what will it does if I put on load

vital saffron
#

Still not taking anything out if it either, gonna make another post for another basic

vital saffron
#

Define the list on load

#

Thats it

modest plume
#

how do I do that

vital saffron
#

On load

#

Its a structure like any other

modest plume
#

this makes no sense

vital saffron
#

Its literally so simple

#

Its what you had, but using on load not on join

modest plume
#

bruh

#

I just said that

#

and you said no

vital saffron
#

No

#

You said move all of the code

#

Just the list

modest plume
#

so

#
    give player random element of {list::*}
set {list::*} to "red wool", "light blue wool", "white wool", "purple wool" and "lime wool"
on load:
    loop {_list::*}:
        send "%loop-index% - %loop-value%" to player```
#

like this

vital saffron
#

No

modest plume
#

oh

vital saffron
modest plume
#

well how do I try it and see

modest plume
#

I can't try it and see because it doesn't work for logical errors

#

and also parser broken rn

#

for me

vital saffron
#

Define the list

#

Not loop it

#

Why is that loop even there

modest plume
#

idk

modest plume
#

like this?

#
    give player random element of {list::*}
on load:
    set {list::*} to "red wool", "light blue wool", "white wool", "purple wool" and "lime wool"```
cobalt matrix
#

just use local variables

#
  set {_list::*} to red wool, light blue wool, white wool, purple wool and lime wool
  give player random element of {_list::*}
#

also dont put quotes around the item names since you want to give them items not strings

#

(even though it may work, just bad practice that will hurt you later)

modest plume
#

oh ok

#

it works!

#

ty

#

how would I test the skript tho

#

I mean it has no errors by it works but idk how to test skript

polar aurora
#

to test it yourself on your server, just change on first join to on join

vital saffron
#

or make a command

#

but i'm not sure why they suggested local vars, as you're gonna want the list to reference and compare to stop them from dropping it and such

#

and if its local i wouldnt even bother with the list, just give p random element from (a, b, c, ...)

modest plume
#

IT WORKS

#

OMG

#

YAY

#

now how do we name the wool

vital saffron
#

thats what i tried to get you to do a couple weeks ago so you wouldnt have to go through your code and change all your conditions from green wool to green wool named ...

#

and theres examples on the docs

#

set {_} to ITEMTYPE named "NAME" with lore LIST OF STRINGS

modest plume
#

?

vital saffron
#

thats the syntax

modest plume
#

like how do I name the wool they got

modest plume
#

thats a variable

vital saffron
#

yes, for an item with a name and lore..

modest plume
#

so like

#

set {_red} to red wool named "Flame Wool" with lore list of strings

#

like that>?

vital saffron
#

(set {variable} to | give player 1 of) book named "&2The documentation" with lore " ", "&rRead me!", "&rit's worth it", and " "

modest plume
#

?????????????????

vital saffron
#

that is an example of not just the syntax, but with values plugged in

modest plume
#

that makes it more confusing tho

vital saffron
#

well thats as simple as i can make it

modest plume
#

oh

#

so

#

how am I ever gonna understand it then

vital saffron
#

by thinking

modest plume
#

bruh

vital saffron
#

its really not hard

modest plume
#

why is there give player 1 of

#

why are there ()

vital saffron
modest plume
#

why is there commas

vital saffron
vital saffron
modest plume
#

I already have a list tho

#

and I have looked at the docs before

vital saffron
#

this is a different list

#

a list of the text you want to display in the lore

modest plume
#

well its still confusing

#

just give me a example with no syntax

#

a actual example that works

vital saffron
#

an example with no syntax? im not sure thats gonna be helpful, but okay:

vital saffron
modest plume
#

?

vital saffron
#

syntax is the skeleton of code. remove it, and nothing remains

modest plume
#

ok

#

then keep the syntax?

vital saffron
#

you have to

modest plume
#

ok keep the syntax then'

cobalt matrix
#

set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "this is the line below the last in the lore"
give player random element of ({_red},{_blue},{_purple},{_lime} and {_white})
using list or not doesnt actually effect performance because skript is just references to different objects

#

with local variables anyway

modest plume
#

ok

modest plume
#
  give player random element of {_list::*}```
#

what about this list?

vital saffron
#

what about it

modest plume
#

are we replacing it?

vital saffron
#

with what?

vital saffron
#

i dont see any reason to, it depends on what you want to do

modest plume
#

why are we creating a new list then when we already have one

vital saffron
#

you had it on join, but it should be on load

#

if i understand what youre asking

vital saffron
#

much added clarity there, thanks

modest plume
#

am just asking a question

vital saffron
#

I said i'm not sure what youre asking, and then you send the exact same message with no added information

modest plume
#

you didn't say that

vital saffron
modest plume
#

no

modest plume
vital saffron
#

you dont have to create another one

#

thats an example

#

cause you were struggling with it

modest plume
#
  give player random element of {_list::*}``` this is the list we already have
vital saffron
#

uh huh

modest plume
vital saffron
#

and youve managed to not listen to me and go backwards again

vital saffron
modest plume
#

you said it was a list

vital saffron
modest plume
#

am never asking you for an example again

vital saffron
#

yes, lets limit the information you get, that will be helpful

modest plume
#

your examples just confuse me

#

they don't help at all

vital saffron
#

just because you have to input your own information does not mean its confusing

modest plume
#

no

#

its just your examples

vital saffron
#

Thats why the docs work, they have to be general, they cant list every possible combination for every possible scenario

modest plume
#

your examples are bad

#

set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "this is the line below the last in the lore" so if this a not a list what is it and what does it do

vital saffron
#

thats is not a list.

modest plume
#

ok

vital saffron
#

that is a variable set to an item

#

the lore is a list though

modest plume
#

why do we need to list lore

vital saffron
#

because lore can have multiple lines

#

multiple things = list

modest plume
#

ohhhhhhhhh

#

so

#

how do we add all this nbt to the wool that the player gets on join

vital saffron
#

for one at least

modest plume
#

wait

#

so

vital saffron
#

i still recommend a global list where you specify the indicies

modest plume
#
    set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "idk"
    set {_list::*} to {_red}, light blue wool, white wool, purple wool and lime wool
    give player random element of {_list::*}```
#

like this?

vital saffron
#

yes, but you can remove the set {_list::*} to ..... line if you specify an index

#

set {_list::INDEX HERE} to ...

modest plume
#

but I want it to be random

vital saffron
#

yes

#

thats the last line. completely un related. we are not randomising it here, just setting up the list

modest plume
#

???????

vital saffron
#

Red: defining (setting up) the items and lsit
blue: giving a random element from the list (after its set up)

#

honestly maybe you need a comment for every line

#

explain it in a way that works for you

modest plume
#

ok'

#

but why do I need to specify a index

jolly owl
#

ITS SIMPLE GOD DAMN

modest plume
#

you can't just try it and see

#

bc I have no idea what it will do

#

I don't know what am looking for to see if it will work

#

whats the differnece between having a index and not

vital saffron
#

and holy moly

#

hold on im typing

#

be patient for once

modest plume
#

me?

vital saffron
#

guess

modest plume
#

but what does having a index do

#

am gussing the other guy

vital saffron
#

every time you interrupt me im not typing out the explanation

#

please think about your actions

modest plume
#

????????????

#

didn't Coder interrupt you to

#

also I was just asking questions

vital saffron
#

he was talking to you, not being impatient

modest plume
#

oh ok

#

how does asking questions mean am impatient tho

vital saffron
vital saffron
#

impatiently

modest plume
#

it doesn't have to be long

#

and am not asking the same thing over and over again

#

that was 3 differnet questions

vital saffron
# vital saffron i still recommend a global list where you specify the indicies

having this list as global (doesnt start with _) means that it persists: it will always exist until deleted or modified. This is nice as you will want to reference these items frequently
This way, you can just check if this list contains the tool, or if the tool is an element of the list instead of copy-pasting the long form.```on load:
set {sword::emerald} to diamond sword named "&aEmerald Sword" with lore " ", "&rPretend it's green", and " "
set {sword::obsidian} to stone sword named "&0Obsidian Sword" with lore " ", "&rMade with water and lava", and " "

#example:
on drop:
if {swords::*} contains player's tool:
cancel event
send "You can't drop your weapon" to player

#versus

on drop:
if ((diamond sword named "&aEmerald Sword" with lore " ", "&rPretend it's green", and " ") and (stone sword named "&0Obsidian Sword" with lore " ", "&rMade with water and lava", and " ")) contains player's tool:
cancel event
send "You can't drop your weapon" to player

#example 2:
if player's tool is {sword::emerald}

#versus

if player's tool is diamond sword named "&aEmerald Sword" with lore " ", "&rPretend it's green", and " "

Specifying the index (plural: indicies), (things after the `::`, in this case `emerald`, `obsidian`) allows for an easier way to refer to things. if you had simply `set {swords::*} to (diamond sword named "&aEmerald Sword" with lore " ", "&rPretend it's green", and " ") and (stone sword named "&0Obsidian Sword" with lore " ", "&rMade with water and lava", and " ")` the indices would be `1` and `2`, which doesnt correspond to the actual thing. by using `emerald` we can easily refer to the emerald sword as `{sword::emerald}` instead of `{sword::1}`, which could be hard to remember and confusing if we had many things in the list
modest plume
#

what is "indices"

vital saffron
#

hmm

#

if only i told you

modest plume
#

?

vital saffron
#

like die and dice... person and people.....

modest plume
#

thats is not telling me what indices is

vital saffron
#

its the plural of index!!!

modest plume
#

oh

vital saffron
#

plural means more than one!

modest plume
#

ik

#

I know what plural means

jolly owl
#
         set {_orange} to orange wool named "&6Flame Wool" with lore "&cLight your enemy on fire"
         #copy paste line 2 to the amount of elements
         #set them in a list
         set {_list::*} to {_orange} , etc.
         #I made orange only so I will use it. You can add more.
         give player a random element from {_list::*}```
#

Hopefully that'll explain shit

modest plume
#

well that was what I was gonna do until x8ight mentioned index

vital saffron
modest plume
#

you don't need to explain the english language to me tho

#

am native english...

#

your just correcting my grammar and spelling

vital saffron
#

clearly we do, you have made numerous and atrocious grammar and spelling mistakes, and are unaware of the meaning of common words

modest plume
#

well my vocab is really bad

vital saffron
#

which are all hopefully attributed to inexperience, and not intellegence

vital saffron
#

you are not ready yet, but you can be in the future

vital saffron
modest plume
#

bruh

#

this is just a nice way of saying your dumb or stupid

vital saffron
#

no, inexperienced

vital saffron
modest plume
#

oops, I did not mean to ping

vital saffron
#

you havent learned simple everyday things that add to your ability to comprehend and problem solve. These do increase in quantity with age, but you need a minimum to start, and i dont think youre quite there yet

modest plume
#

you are literally just saying am stupid

vital saffron
# vital saffron no, inexperienced

no, stupid would mean there is no helping you. im just saying you have the potential to learn more and be better equipped when you come back

vital saffron
modest plume
#

but am not inexperienced

vital saffron
#

yes, you are.

modest plume
#

I have learned grammar in english class

vital saffron
#

im not saying you cant code, just do it when you are able to understand the basics without spending weeks on them

vital saffron
modest plume
#

bruh

#

well most of the time I don't try to add grammar

#

like I used to say "dont"

vital saffron
#

ive noticed your lack of "i" and "you"

modest plume
#

for shorting messages

vital saffron
#

there are "text shortcuts" like "youre" instead of "you're" to make typing faster
and then there are shortcuts that increase confusion and open up more possibilities, removing clarity

#

and make you seem unsophisticated and simple

#

generally i try to stay away from type 2 unless im really in a hurry and not in a proffesional environment

modest plume
#

well those aren't really shortcuts

vital saffron
#

it just takes wasted brainpower to stitch the meaning together

modest plume
#

I dont use those shortcuts

vital saffron
modest plume
#

what does that mean

vital saffron
#

a subject is one of the most important parts of a clause

#

actually, no, its THE most important

modest plume
#

ok

modest plume
vital saffron
modest plume
#

but I don't need to use "i" or "you" if am not mentioning anyone

vital saffron
modest plume
#

no

#

not every sentence has to mention someone

vital saffron
#

the subject may not be a person or living thing, but all clauses must have a subject

modest plume
#

ok

modest plume
#

No, am not inexperienced you are just making a excuse to give up on me because of all my questions. I can learn it now. It's just you that is giving up on me right now.

vital saffron
#

...

#

i have been in your posts (i think 7 now) for months.

modest plume
#

its been like 1 month

#

or 2

vital saffron
modest plume
#

bruh I just want help with skript I don't know what to say

modest plume
vital saffron
# modest plume its been like 1 month

this is the first post of yours i was in: #1169808813038256169 message

that is plenty of time for me to refine my opinion of your aptitude and validate my determination

modest plume
#
    set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "idk"
    set {_blue} to light blue wool named "Water Wool" with lore "this is water wool" and "idk"
    set {_white} to white wool named "Feather Wool" with lore "light as a feather" and "like a chicken"
    set {_purple} to purple wool named "Space Wool" with lore "came from space?" and "maybe?"
    set {_lime} to lime wool named "Earth Wool" with lore "its made out of rock" and "wait but its wool"
    set {_list::*} to {_red}, {_blue}, {_white}, {_purple} and {_lime}
    give player random element of {_list::*}
on place:
    broadcast "block placed CONFIRMED"
    set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "idk"
    if event-block is {_red}:
        broadcast "event block is red wool named Flame Wool CONFIRMED"
        cancel event
        broadcast "canceled event CONFIRMED"``` trying to get it so they can't place the wools it does not work the condition does not work
vital saffron
#

again

#

and always try to glaze over things when they dont go your way

modest plume
#

no

#

I swear am not trying to glaze over anything

#

I was much more happy when I made that post

vital saffron
modest plume
#

oh

vital saffron
#

please provide support

modest plume
#

well I want to get the skript done

vital saffron
#

well, i think there are more important things to focus on

modest plume
#

and this is a skirpt help server

#

so skript is what to talk about

vital saffron
#

yes, not a skript do it for you server, or a skript repeatedly explain elementary things

#

we are here to help you learn.

modest plume
#

bruh

vital saffron
#

you are refusing to learn.

modest plume
#

no am not

#

I don't know what to say anymore

vital saffron
#

neither do I

vital saffron
modest plume
#

no

vital saffron
#

no what?

modest plume
#

you guys make skripting not fun

#

it used to be fun

vital saffron
#

quite the contrary.

modest plume
#

if only I knew what "contrary" meant

vital saffron
modest plume
#

yeah

#

for the laser

vital saffron
vital saffron
modest plume
#

I remember when someone told me that the laser was to complicated for me because I was a beginner and I agreed so I started simple

vital saffron
modest plume
#

you are

modest plume
#

Rage Grim wants me banished

#

from the skript help server

vital saffron
#

yes, they did say that

vital saffron
vital saffron
modest plume
#

improve on what

#

skript?

vital saffron
#

general skills, thought process, experience life

modest plume
#

bruh

#

ok

vital saffron
#

focus on school. i mean it. You're on roblox or minecraft 70% of the time i see you online. you can have free time and fun, but school is the most important

modest plume
#

maybe I do need to improve on those

#

bruh

#

I do focus on school

#

you don't know my grades

vital saffron
#

well, when you get to the point where the tasks get harder you will need to spend more time

modest plume
#

or what type of school I go to

vital saffron
#

i don't mean going from nap time and picture books to arithmatic. i mean like your first essay or algebra

#

or science labs

#

with actual chemicals and more than 4 steps

modest plume
#

I am in algebra

#

I don't like naping

#

I would never take a nap

#

I have written serveral essays

vital saffron
#

thats great, keep seeking to refine your skills

modest plume
#

I don't need to do that

vital saffron
#

no ones perfect.

#

improvement is never a bad idea

modest plume
#

this agruing is a waste of my time and probably your's to

modest plume
modest plume
vital saffron
modest plume
#

because am good enough for skripting

#

my skills are good enough for skripting

vital saffron
#

and back to square one

modest plume
#

I have already skripted a lot

vital saffron
#

2 months isnt really a lot

modest plume
#

ok

vital saffron
modest plume
#

bruh

#

no one is constantly skripting 24/7

#

this is pointless

vital saffron
#

but some are dedicated enough not to go days with just a "hi" in a post

modest plume
#

we will never get along

vital saffron
modest plume
#

I don't want to waste anymore time agruing with you

vital saffron
# modest plume we will never get along

i have been blunt, objective, and exasparated, but i always have the bigger picture in mind.
every post, i have attempted to help you with your code, literature, and more.

modest plume
#

yeah

vital saffron
modest plume
#

and every post we end up agruing

#

ok

vital saffron
#

these are fundamental life skills you will need to learn

#

the sooner, the better

errant gale
#

x8ight, you being helpful?

modest plume
#

no

cobalt matrix
#

mods ban these guys

vital saffron
#

on your perspective i guess

cobalt matrix
modest plume
#

I think am just gonna block him

cobalt matrix
#

go for it

errant gale
#

Hey AxolotlMello, let's start a new conversation.

What's the issue?
What have you tried?
Is x8ight being helpful?
on a scale of 1-10 how helpful?

modest plume
#

ok

vital saffron
#

please specify indicies

modest plume
#

I have tried debuging it

vital saffron
cobalt matrix
#
    set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "idk"
    set {_blue} to light blue wool named "Water Wool" with lore "this is water wool" and "idk"
    set {_white} to white wool named "Feather Wool" with lore "light as a feather" and "like a chicken"
    set {_purple} to purple wool named "Space Wool" with lore "came from space?" and "maybe?"
    set {_lime} to lime wool named "Earth Wool" with lore "its made out of rock" and "wait but its wool"
    set {_list::*} to {_red}, {_blue}, {_white}, {_purple} and {_lime}
    give player random element of {_list::*}
on place:
    broadcast "block placed CONFIRMED"
    set {_red} to red wool named "Flame Wool" with lore "this is flame wool" and "idk"
    if event-block is {_red}:
        broadcast "event block is red wool named Flame Wool CONFIRMED"
        cancel event
        broadcast "canceled event CONFIRMED"```
 trying to get it so they can't place the wools it does not work the condition does not work
modest plume
#

x8ight is not helpful

#

0

vital saffron
#

i feel this is obviously and exaggeration

modest plume
#

maybe 1

vital saffron
#

at least youre spending the time to say my name now ¯_(ツ)_/¯

cobalt matrix
#

just block him axolotl

modest plume
#

ok

errant gale
modest plume
#

but won't it get confused and say its a block and not a item

vital saffron
cobalt matrix
modest plume
#

ok

vital saffron
#

this is a reocurring issue

errant gale
cobalt matrix
#

x8 just leave le' bro bro

vital saffron
#

then i have to restart in the next post

modest plume
#

it works

#

wow

#

ok

vital saffron
#

cause they make another one for something explained in the last one

modest plume
#

ty

#

no

#

and its not they

#

its just me

cobalt matrix
#

close please if your prolbem is fixed

vital saffron
vital saffron
modest plume
#

ok

#

one sec

errant gale
modest plume
vital saffron
modest plume
#

its just me

#

no one else is here

vital saffron
#

"they" is used to refer to someone who you do not know the gender of

modest plume
#

like here on my PC

vital saffron
#

not just a group

modest plume
#

ok one last thing

#

I want to enchant the wool

vital saffron
#

the docs have perfect examples of that

#

along with sovde's gitbook

modest plume
#

ok

#

wait

#

could a player get this wool without spawning with it

#

?

vital saffron
#

not if you make it unique

modest plume
#

is it already enough unqiue with its name and lore?

vital saffron
#

if it has colour codes in the name and lore they cannot mine normal blocks and use an anvil
but perhaps they kill someone and take it, are you clearing it on death?
also might want to not let them put it in containers too

modest plume
#

oh yeah

#

how do I make it so they keep the item on death

vital saffron
#

on death, remove the item from the drops, and give it to them on respawn

modest plume
#

ok

vital saffron
#

if you want to get fancy keep track of the slot it was in

modest plume
#

how do I check if the item is in the inventory

#

so like on death if they had {_red} in inventory cancel drop and give player {_red}

#

also how do I make it global

vital saffron
vital saffron
modest plume
#

ok

#

wait thats all

modest plume
#

I just remove the underscore

#

its really that simple?

vital saffron
#

yeah, {_local}, {global}

modest plume
#

oh ok

#

do I put the list at the top of the skript so it is defined first?

#

I gtg

vital saffron
#

define = set, create

modest plume
#

ok