The entity you want is env_texturetoggle. Though a lot of the more exotic items from Deathmatch are currently broken for TF2, so I don't know how well this one is going to work. Good luck!
If this is your first time logging in after the migration (Feb 8, 2022), you must reset your password to log in. Follow this guide if you're having trouble