Im literally freaking out because of this unfixable snap variable bug

BRO WHAT DO YOU MEAN TTY0 DOESNT EXIST IN THIS CONTEXT ITS LITERALLY A GLOBAL VARIABLE
image
image
image

NOTHING I DO FIXES THIS IVE LITERALLY SPENT TWO HOURS TRYING TO FIX THIS OMFG

Could you post a project link?

awe but im not done with my mod of snap!nix yet

oh well one sec

Whatever you like, but you can't really ask for help without it!

Its above. It is basically done anyways, I just cant figure out why it aint working

Bh?

it works for me

I'm not getting any error about the variable not existing. The only error I get is that it's not a list, but that's before I press the green flag.

sorry, im dumb, run tea /home/notepad.tea

Well, I'm not on my computer right now, so I can't test it out.

ok

how do i do that?
i use windows and chromeos so im used to a gui interface instead of text

just type it?

i ran it. i have no idea why it has an error other than the script might not be "seeing" the variable?