#Help, it happened so I need {learn::*::farm} to check where the star is 1 for all values and repla

1 messages · Page 1 of 1 (latest)

pliant prawn
#
    set {_key} to loop-value
    set {_value} to {learn::%{_key}%::farm}
    if {_value} = 1:
        set {learn::%{_key}%::farm} to 2
#

Try this

#

@remote night

remote night
#

No, it doesn’t work, but thanks, this error occurred:

A variable's name must not contain any asterisks except at the end after '::' to denote a list variable, e.g. {variable::*} (error in variable {learn::*::farm})

pliant prawn
#

@remote night

#

Will this work

#
    set {_key} to loop-value
    if {_key} contains "::farm":
        set {_value} to {learn::%{_key}%}
        if {_value} = 1:
            set {learn::%{_key}%} to 2
remote night
pliant prawn
#

Np

remote night
pliant prawn
#

Wdym

#

You said no then yes

#

Which one

#

@remote night ????

remote night
#

At first it worked (compiled) but then it just doesn’t work, even {_key} is missing

pliant prawn
#

I’m not on a editor rn I’m on mobile lol

remote night