diffuse = vars?

Just want to make sure I haven’t done something wrong…. Can I use diffuse = vars or is it not allowed…..if not can I use info skin string or window property?…
I currently have var but it’s not working