The idea is that you then configure your IRC client to use 10.40.40.40 (or whatever IP you chose) as the server's IP address. From your description, I couldn't tell if you had also done that or not. If not, that's probably the reason it's not working.
David Grozdan wrote: > I then went to the freenode site and looked up information on how to make > freenode work with Tor. In the documentation, it said to add the below line > to my torrc file - http://freenode.net/irc_servers.shtml#tor > > mapaddress 10.40.40.40 mejokbp2brhw4omd.onion > > and then to restart Tor, which I did. But I keep getting the same response > from freenode and it doesn't allow me to connect at all. >