How to use Array.push to put a Variable into a variable

Story Format: SugarCube 2

So I’m currently setting up a Status System that when a Specific Scene happens, $effect1 will be pushed inside of $status

Not sure if this will help, but here is a sample of initializing the array $status, then pushing two different effects into it. The final line just prints all the effects in the status array

<<set  $status = []>>
<<set $effect = "poisoned">>
<<set $status.push($effect)>>
<<set $effect = "bleeding">>
<<set $status.push($effect)>>

It should be noted that <<set $status.push($effect)>> adds a copy of the current value of the $effect variable to the Array being stored within the $status variable. And (as shown in the example) changing the value of the $effect variable afterwards has no affect on the value that was previously added to the Array.

Thank you