わざわざ is about cost. Somebody could have done the easy thing and did the expensive thing instead: made a trip, made a call, went back out. It never comments on whether the effort was well aimed — it only insists that effort was spent, and then leaves you and your tone to decide whether that was lovely or absurd.
わざと is about intent, not cost. It means on purpose, and it is nearly always an accusation: わざと負けた lost on purpose, わざと無視した ignored me deliberately. Swap the two and you change the charge completely — わざわざ来た is “they came all that way,” わざと来た is “they showed up on purpose,” which sounds like a threat.
せっかく is the same effort seen from the other end. わざわざ looks forward at trouble being taken; せっかく looks back at trouble already taken and argues it must not be wasted — せっかく来たのだから, since we came all this way. They stack happily: せっかくわざわざ来てくれたのに.
Who spent the effort decides the temperature. Pointed at someone else it is thanks, and it pairs almost automatically with てくれる or すみません. Pointed at the listener it is a complaint — わざわざ言わなくてもいい, you did not need to say that. Pointed at yourself out loud it sounds like you are billing the room for your own kindness, so Japanese speakers mostly avoid it about themselves.