How does ad hominem work?

Writing someone off for a single reason is not the same thing as giving them equal weight.
If you want attention, why don’t you do something like feed homeless people. People will love you for that.

In not looking for attention but for a way to resolve an issue like in the previous post, #19.
Though it could be worse, I can miss the mark entirely like this: https://www.ideapod.com/idea/The-Final-Lesson-of-Truth-from-Seer-Friedrich-Nietzsche/569eba60474f142412877be6

Someone would also counter that morality is relative and try to use that to excuse what he did.