SimpleChat Client/Server Package
Version 1.1, 7/31/2001
Jesse McGrew (Mr2001)

This is my entry for irc-resource.com's SimpleChat scripting challenge. It
requires Visual IRC 2.0pre8b or later, available from:

     http://www.hansprestige.com/virc/beta.html

To install the script:
  1. Start ViRC 2 and open the script editor.
  2. Click "Footer" in the panel on the left.
  3. At the bottom of the Versus code window on the right, add this line:

     ^Load schat.vsc

  4. Click "Save & Rehash". If you are asked to make a backup copy, click yes.

After connecting to IRC, you can start a SimpleChat session: right-click one or
more names in the nick list, then click SimpleChat. When you receive a
SimpleChat invitation, you will get a message box asking whether you want to
accept it.

Once a session is open, you will have a window that looks like a channel - an
output pane at the top, an input line on the bottom, and a nick list on the
right. Like a channel, you can talk by entering lines of text, or perform
actions with /me. /nick will work to change your nickname.

You can also type /wb to open a whiteboard window, where you can draw on a
shared picture with the other SimpleChat users. When one user begins drawing,
the other ViRC users in the session will open a whiteboard window
automatically.

If you initiated the session, you can use these commands:
  /kick <nick> - eject someone from the session, although he can still rejoin
  /ban <nick> - eject someone and keep him from coming back
  /unban <ip address> - remove a ban set with /ban
  /bans - list the banned addresses
  /invite <nick> [nick nick...] - invite IRC users or channels to the session
  /pmode - change the security mode
  /help - get a list of commands

Commands to use while on IRC:
  /schat <nick> [nick nick...] - initiate a session with some users/channels
  /scc <host> <port> [password] - connect to a session you've been invited to

Scripters of other IRC clients may want to look through the source code and
notice the script's structured, object-oriented design, and the use of lists
and Parse..EndParse for text parsing.

ViRC scripters may notice the use of property handlers and inheritance,
TSockets as a server, embedded lists, buffers for data from the socket,
trapping and simulating whiteboard commands, and manipulation of ViRC's text
control.

---------------------------

Changes since 1.0:
- Copied nick list popup items from virc.lib. The nick list menu will now
  work as expected when schat.vsc is installed.