#Sorting variable list

1 messages · Page 1 of 1 (latest)

sleek haven
#

yeah this is a known issue iirc

high quail
#

Is there any way to fix it

#

Any hacky methods

sleek haven
#

don't put multiple data types into the list

high quail
#

I don't

sleek haven
#

what type is supposed to be in there

high quail
#

Number

#

I looked at every value they're all numbers

#

Index is a string

sleek haven
#

!send size of ({_list::*} where [input is not a number])

high quail
#

1

#

Frick man

#

How do I find the var's location?

sleek haven
#

you can remove size of to see what it is

high quail
#

Can I find the index?

#

Just see the value : 10

sleek haven
#

if you loop over the list you can print out the index yeah

high quail
#

I did

sleek haven
#

can't do it in one line tho

high quail
#

They're all correct looking

#

Yea I know, I've tried

#

It prints out as 10

sleek haven
high quail
#

Silly af

sleek haven
#

then it tells you

high quail
#

OBVIOUSLY

#

IM SO SILLY

#

Bank u

#

Ok

#

It's from when I was testing earlier, I set my var to "10"

sleek haven
#

yeah

#

that'd do it

high quail
#

There are no other non numbers though

#

It still errors

sleek haven
#

have you deleted that variable

high quail
#

Yes

sleek haven
#

run the size of thing again

high quail
#

0

sleek haven
#

odd

high quail
#

Would indexaffect it?

sleek haven
#

can you just send size of {your-list::*}

#

nah all indices are strings

high quail
#

Size is 105

sleek haven
#

hmm can you copy all the values of the list from variables.csv and send them here

high quail
#

Can I send a broadcast of the index and values?

#

My variables file is too big

sleek haven
#

that won't really help that much

#

too big?

high quail
#

Ok I'll try looking for it

sleek haven
#

you can just ctrl-f

high quail
#

Oh I'm monkey

#

Is it the fish caught :: tool

#

WTF

sleek haven
#

you seem to have a LOT of strings

high quail
#

Yea it's from fish caught::%player%::tool

#

Did not know that existed

#

Don't know the origin

#

Found the bug, Bank u!

sleek haven
#

idk if that'll solve it tho tbh

high quail
#

I'll let you know

#

Brb

sleek haven
high quail
#

Yes that's from me testing if it wsa number values

#

I've deleted it

sleek haven
#

alright

high quail
#

Idk how var files work but it probably hasn't updated

sleek haven
#

yeah

high quail
#

Bank u tho

#

Fixed it

#

Thanks sovde

#

Appreciate it

sleek haven
#

what was it?

high quail
#

{fish caught::player uuid::tool}