usr << "Pressed 1"
if(winget(usr, "Container", "is-visible") == 1)
usr << "Container Is Visible"
if(winget(usr, "Container.S1", "text"))
usr << "Container S1 Has Text "

Problem description:
The problem is that it won't say S1 has text, so I must be doing something wrong. "Container Is Visible" works. I've checked the interface itself and I can't find anything wrong with the label I'm trying to get text from.

Anyone got any ideas? Thanks :D

    if(winget(usr, "Container.S1", "text") != "")
In response to Hi1
Nevermind, got it working. I would tell you what fixed it if I actually knew sorry.