Put this into the of the page: This is the form element, which you can put anywhere in the page - if you remove the Channel input it will use the default channel. You could also remove the submit button and you just need to hit enter after typing in a nickname. You might need to change action="irc.cgi"