~~NOTOC~~
====== Add Chat to Your Website ======
===== Overview =====
Our standard WebChat applet can easily be added to any web page on any web server or free host and only requires that your users have a [[http://www.java.com/getjava/|Java]]-enabled browser, which more than 97% of users do. We do not add any banner ads or popup windows to your website or try to install any adware or spyware, so your users can rest assured that using our WebChat applet on your site is completely safe. Your visitors also have the option of using any [[http://en.wikipedia.org/wiki/Comparison_of_Internet_Relay_Chat_clients|IRC client]] by connecting to irc.afternet.org and joining your room.
By default, the login form our WebChat script generates is as simple as possible. This is to allow you to customize it to match the look and feel of the rest of your website, and you can read the information further below to learn how to modify many aspects of the script. The script also gives users the option to automatically login to their AfterNET account using [[help:connecting:login-on-connect|Login-on-Connect]].
===== Making Your Channel Your Own =====
On our network you have the ability to permanently own your channel (or chat room). This allows you to kick out or ban troublesome visitors and extend these rights to others you trust. Once you've found a channel on our network that is not in use by anyone else, you can make that channel your own by following some simple steps.
* Join your new channel using the WebChat applet and verify that nobody else is in it.
* Create an AuthServ account to use X3, our channel services bot. To do this, type the following command:
/authserv register
You'll need to fill in your desired username, password, and email address above. Your email address is only used to prevent multiple registrations and if you forget your password. We never use it to send you spam or for any other purposes.
* Check your email and type the command from the email to complete the account registration. It should look something like this:
/msg AuthServ@X3.AfterNET.Services COOKIE
* You should now be automatically logged in to your account. In the future, you can use the login-on-connect feature of the WebChat form to login when you connect or you can type the following command once connected:
/authserv auth
* Now that you are in your channel and logged in, you can register your channel with this command:
/x3 register
Remember that the channel name in the above command must begin with the # character. Our channel service bot, X3, will then join your channel. Whenever you login with AuthServ and join your channel, X3 will automatically make you a channel operator. You can learn all about X3's functions on this help page or by typing .help in your channel.
* If you have any questions, feel free to /join #afternet or /join #help and ask for assistance!
===== How to Make Detailed Modifications =====
Our WebChat script has many other variables that you can modify. Here is an expanded version of the simple code above that shows every setting you can change along with its default value.
Additionally, the entire WebChat script lives inside