It doesn't matter how you
intended for it to be taken. If you jokingly told someone to kill themselves and they did actually kill themselves, would you hide behind "they should have known I was joking"?
I read your post three times before I first commented to make sure I wasn't misunderstanding. What you claim to have said is horribly offensive and I can't believe you're trying to shrug it off as no big deal. Maybe it's a cultural difference, but hopefully what you're learning is that it may be okay to tell a human being to kill themselves in Scotland but that is not considered acceptable in the US.