Since you insist on bringing this out in public, I am afraid I have to give the rest of the picture. When the OP decided to post their own answer (which, by the way, they never accepted), you responded as follows:


1. [You deleted your answer!][1]

2. You posted [this comment](http://chat.stackexchange.com/transcript/message/34286556#34286556):

 > He @Raphael, I really loved you question. Unfortunately, the way you handle it turns it into a bad one, and your profile didn't ly. Don't expect any more answers from me. Deleted my answer.

3. And [this one][2] when the OP [comes to meta](http://meta.askubuntu.com/questions/16475) to ask for guidance:

 > You expect me to help you further while you post this on meta?

After complaining that the OP asked on meta, you come here and do the same thing! [You claim][3] that:


 > his post was a personal attack, mine isn't for sure. I don't read his name multiple times in my post

Although the (now deleted) [post][4] of the OP was in no way an attack on you and only mentioned you to point out that your answer was helpful:

> On this question of mine, I received a very helpful answer by Jacob Vlijm which I highly appreciate.

And to add insult to injury, your meta question makes no mention of your deleting your answer or refusing to help the OP because they posted another answer. 

So, now that both sides of the story are out, I will repeat what I said in chat: posting a modified version of an existing answer *with attribution*, that improves the existing one or expands it to cover aspects of the OP's problem that weren't explicitly mentioned in the question is absolutely fine, yes. It gives an improved or expanded or just different approach and that is a good thing. Your answer might help one future visitor, theirs might help another. 

Had the OP modified your script and not taken the time to share their changes, that would indeed have been a shame. Instead, they took the time to share their work with us and all they got in return was spite. I hope that's not the way we greet users who come here and ask the questions we all enjoy answering. 


  [1]: http://askubuntu.com/posts/863003/timeline/
  [2]: http://chat.stackexchange.com/transcript/message/34286650#34286650
  [3]: http://meta.askubuntu.com/questions/16476/what-is-the-connection-between-an-answer-and-its-poster-none#comment33124_16476
  [4]: http://meta.askubuntu.com/questions/16475/
  [5]: http://meta.askubuntu.com/questions/16476/what-is-the-connection-between-an-answer-and-its-poster-none#comment33121_16476
  [6]: http://chat.stackexchange.com/search?q=accepted&Room=201&User=47392&page=1&pagesize=50&sort=newest