Login with Cservice
Login as ircop

Webchat - Create your own free webchat!


Want to have a Java Chat implemented for one of our channels? Thats possible with just a little effort. All you need to do is copy & paste the following line of code:

<script type="text/javascript" src="http://www.scarynet.org/jchat.php?c=channel"></script>

Make sure you replace channel with the name of the channel without the leading #. For example '#ScaryNet' becomes 'ScaryNet'. Enjoy !.

Another way of adding a chat to your site (especially usefull if you want to use the realname/quitmsg fields is to use html forms. Here is an example of such a form:

<form method="post" action="http://www.scarynet.org/chat.php">
 <input type="hidden" name="channel" value="#channel" /;>
 <input type="hidden" name="realname" value="Java Webchat" />
 <input type="hidden" name="quitmsg" value="This is my custom quitmessage" />
 <input type="hidden" name="lang" value="french" />
 <input type="text" name="nick" value="Guest" />
 <input type="submit" name="chat" value="Chat now" />

As you see in the form this uses chat.php, not jchat.php. Also you specify the target of the frame in the <form> tag. NOTE: This breaks validation on XHTML 1.0 Strict and higher. Please take all this into account !

Other options you can add to this:


ScaryNet is listed as network in mibbit.
Open our "#ScaryNet" chat on in a new window/tab (depends on your browser settings)

<a href="http://widget.mibbit.com/?server=irc.scarynet.org&channel=%23ScaryNet">
   Open our "#ScaryNet" chat on in a new window/tab (depends on your browser settings)


We now can also offer HTML chat access using the powers of CGI:IRC. For that facility you can use the following code:

<script type="text/javascript" src="http://www.scarynet.org/wchat.php?c=channel"></script>

Make sure you replace channel with the name of the channel without the leading #. For example '#ScaryNet' becomes 'ScaryNet'. Enjoy !.

Like with the JAVA chat version the HTML version can also be used on your site using the form method. Here is an example:

<script src="http://webchat.scarynet.org/webchat.js"></script>
<form method="post" action="http://webchat.scarynet.org/cgi-bin/irc.cgi" name="cgiirclogin" onsubmit="return openCgiIrc(this, 0)">
 <input type="hidden" name="interface" value="nonjs" />
 <input type="hidden" name="Character set" value="" />
 <input type="hidden" name="Channel" value="#yourchannel" />
 <input type="hidden" name="Format" value="french" />
 <input type="text" name="Nickname" />
 <input type="submit" value="Chat" />

The html chat uses a different script to execute and requires an extra line containing javascript code to set certain options which get passed to the cgi. (Do NOT remove the "Character set" and "interface" option ! Leave those like they are in the example !!!). Another thing is that instead of language the HTML option uses the option name "Format" in case you want to select a language.

Other options you can add to this:


ScaryNet is looking for translators willing to make translations of these packages available that are currently not yet supported in order to be able to provide the best of support to our visitors.

As reference, you can download the english versions of the language pack.

Please edit this file using a file-editor that is able to take linux text files into account. (Wordpad on windows for example or any text editor on linux).

Send the finished translation (e.g. only the files you DID translate) to : translation services. It would be nice if you could rename the files to your language name. Saves me time as well :)


ScaryNet also offers custom colors to be used for the HTML chats. This is controlled by a single CSS file. In order to be able to customize the html chat for your purposes download the CSS file here (right-click & save as). The CSS file should be selfexplaining.

When you have finished editing the CSS file, please mail it to : customization services. Please rename the file to style-<yourchannelname>.css and specify the language you want to use for your chat so we can set it up for you.