Maybe so, but a hostname isn't exactly good protection. Many IRC servers have the ability to allow irc ops to "fake" a hostname. Now most IRCOps wouldn't do something like that, but if they wanted to, they can now ruin your PC. If you want to do it, well then all I'm going to say is it can be done, however I won't provide the code to do it. For one I don't know your real intentions, are you going to put this in a script so that you can take over other people's machines? And even if your intentions are perfect, like I said, it's dangerous and I don't want to write code that I know can ruin your PC.