I'd like to change some colors used in my layout based on which system's games are currently displayed.
I tried:
switch("[System]")
{
case "NES":
t.set_rgb(255,0,0);
break;
}
"[System]" outputs the text "NES" as expected when used in an add_text call, but doesn't seem to work in a conditional. I also tried removing the quotes around [System].
Is there a way to do this?