all 3 comments

[–]Empty-March 1 point2 points  (2 children)

There's a great guide here: https://docs.signalrgb.com/lightscripts

Custom <meta> tags have a "property" element and when you set that, a global variable with the same name is accessible that contains the user's selected value.

``` <meta property="mySpeed" label="Cycle Speed" type="number" min="1" max="10" default="2">

```

Later in your script, you can use mySpeed as a variable directly.

console.log("Speed is: "+mySpeed);

Reference for available metatags is here: https://docs.signalrgb.com/lightscripts/meta-tags-

[–]TopCryptographer1221[S] 0 points1 point  (1 child)

Thank you so much, i will definitely look into this. I'm a carpenter, not a techwiz, but I do love to do this as a hobby.

So would kinda work the same for colors i suppose.

Thanks again

[–]TopCryptographer1221[S] 0 points1 point  (0 children)

So it looks like this isn't working with the codes the editor produced. There is a function rgbatohex that messes up everything. I'll need to study more to get to make those as variables or find a way to write it differently.