If hes dehydrated, a soak can do wonders, especially since lizards are not big drinkers. A healthy diet can go a long way, as well. You said that he had a UVB light, but you really have no way of knowing how old the bulbs are, so I would get at least a new UVB bulb. Once you get your temps and humidity dialed in correctly, the Anole should improve tremendously. Pics would help alot in determining his condition.