Modification to ip.py. Much cleanup, better response.
tidy up ip.py more, and use .ip to lookup YOUR whois data
Add global code.host to get the senders host (IF PRIVMSG)