How do I add an array from one script to another?

Stuck on how to connect two arrays from two different scripts.

I’ve created one empty array in one script where I enter in stuff and it stores it into this array (I’m using variables with a global scope). I now want to use the name of each item I entered into the first array from script one and add a value to it which is stored in an array in script two.

So basically, my first script has an array where I can make elements blahblah and lahlah. My second script wants to create a new array with value x for element blahblah from the first array and value y for element lahlah in the first array.

submitted by /u/SadMonahan
[link] [comments]

Leave a Reply