Doesn't whether do the same?
I'll tell you whether I'm ever in town [that I'm in town].
No. Whether is like what/how/when/etc-- it's an indirect question, not a condition. The actual telling is of [whether I'm ever in town]-- telling you the answer.
I'll tell you what I ate.
I'll tell you who I saw.
I'll tell you when the meeting is.
I'll tell you whether I know the answer.
If, on the other hand (in its main use), introduces a sentence-level conditional (adverbial?), not an argument or indirect question.
What gets weird is when if is used like whether but still retains its meaning of "in the event that" as a conditional.