#loop value

1 messages · Page 1 of 1 (latest)

marsh kite
#

Does anyone know how I can fix this loop to work?

kind timber
#

Tell me you are on a MacBook

#

Those quotes are styled, not the default "

marsh kite
kind timber
#

Skript does not accept styled quotes

marsh kite
hot grotto
#

it is the error

#

skript doesnt recognize these quotes

#

use the normal ones

kind timber
#

Skript is still dumb on parsing

#

Sometimes user experience is more needed

marsh kite
kind timber
#

Do you want to fix the unacceptable quotes first?

fair yacht
#

I'd suggest trying the normal quotes, and if it still does not work, send some more code and we'll be able to look at the loop, since you're convinced it is the problem.

marsh kite
#

By the way, I don't think it looks good for you because I have a texture pack attached to him with custom letters

kind timber
#

I guess time to send more codes with it

marsh kite
#

"

#

this it the one i use

hot grotto
#

ok then it is a texture pack ig, can you send your code

marsh kite
#
                                    if "%region at loop-player%" contains "plot_124":
                                        loop ({_time} / {_update}) times:
                                            send "&7Tijd: &c%{_time} - ((loop-value) * {_update})%&7s" to loop-value-5-player
                                            wait {_wait}
hot grotto
#

what is that indentation

marsh kite
hot grotto
#

loop-value-5-player? 🤨

kind timber
#

What's this doing here?

fair yacht
#

Oh my days

#

We love Minetopia skripts

marsh kite
#

yes script says that I have to put a value on it but I don't know how. that's my question too.

hot grotto
#

its loop-%classinfo%-<the loop number>

kind timber
#

loop-value-5?

marsh kite
#

What is the class info then?

hot grotto
#

the type

#

player, number, string, value, etc

#

you use them depending on what youre looping

marsh kite
#

so ```loop-%value%-5-player

hot grotto
#

remove the %

#

and why do you have -player at the end

marsh kite
#

because I'm trying to send a player something

hot grotto
#

ok? you dont need -player

marsh kite
#

can you not send those 3 lines how they will work? maybe I understand what you mean and then I can use that

kind timber
marsh kite
#

yes one says this the other says that, I don't get it either

kind timber
#

Based on your code, you only have a loop inside a loop

#

loop-value-2 should work

marsh kite
#

okey il try

kind timber
#

and the loop-value, change to loop-value-1

#

But the error doesnt makes sense if the issue is loop-value

marsh kite
#

yes, that's what I thought too, but when I make it a loop-player it gives another error, the error that I have to use value

kind timber
#

You have a loop inside another loop

#

what do you mean?

#

If you use loop-value it will error as there are 2 answers it can get, hence we do loop-value-1 or loop-value-2

#

You can see his code, this code is inside another loop

#

can you edit the lines so we can copy paste it

#

eh

#

@hot grotto come spoonfedd

#

so the ((loop-value) needs to be removed?

hot grotto
#

your problem now