how to get var vars
obj gui1 icon = 'num.dmi' icon_state = "1"mob icon = 'player.dmi' icon_state = "player" var GUI1 = new /obj/gui1 Login() usr.Move(locate(1,1,1)) gui()proc gui() usr.client.screen += usr.GUI1
GUI1.icon_state = "SomethingElse"
It's a Reference to the object you created, so you can access all of it's variables through that.
GUI1.icon_state = "SomethingElse"