Yeah, sweaty hands can be a problem when knitting in hot weather. I'm in Texas, so believe me, I know all about that!
I suggest using a little desktop fan pointed at your hands. That's often enough to keep your hands dried out enough to knit.
And washing the scarf when you're done is always a good idea, too!