Not sure if this is possible, can you help?
-made a function_1 that sets the value of a variable
-a different site is calling a function_2 in the same .js script
-need function_2 to call the variable that was set in function_1
-basically I need a function to call a variable that was set in another function
If I understand you correctly, it shouldn't be. Two different sites interacting via variables in JS would be... for lack of a better word, impossible. (Even with global JS variables, the variables are accessible only by the local site)