![]() |
CujoChat: Internet Chat for Magic Cap! |
The following screen shot depicts a sample conversation between "dogman," the CujoChat user, and another user named "flume." Click on the image to get the full-sized screen shot.
Immediately beneath the "you say" text field is a choice box labeled "say to" which determines who receives your messages. By default this is set to "entire channel," so whenever you press return in the "you say" field, all users on the channel will hear your message. If you want to talk to a specific user, though, you can set the box to "specific user." All messages sent in this way will only be heard by the other user.
To specify the recipient of your messages, tap the adjacent "user" choice box and pick a nick from the list of users on the channel. Whenever people enter or leave the channel, this list is updated to reflect the current channel state.
Messages sent and received using "specific user" are visibly different from normal channel-wide messages to help you differentiate personal conversations from the normal channel traffic. Messages sent are prepended with "you tell nick:" where "nick" is the other's nickname. Messages received from others using this means are prepended with "nick tells you:". IRC clients on other platforms will also differentiate personal from channel-wide conversation, so this feature is useful for conversations with any other users, not just ones running CujoChat.
Channels can be marked with several flags to change the IRC server's default behavior when stuff happens. You can't change the flags for a channel unless you are a channel operator, but you can always see what the current flags are. CujoChat provides an interface for some of the most common of these: secret, private, and invite-only.
The first flag, secret, prevents the channel from showing up in the master channel lists that other users can browse through. The result is that someone must know the name of the channel to join it, but nothing is done to prevent their entry when they know the name. Many channels set this flag to reduce the amount of random people wandering through.
The private flag on a channel goes much further than secret: it prevents any other users from joining the channel. If you want to converse with a few other specific users and not allow others in, go to a new channel and set the private flag. See more on channel creation below.
The final flag, invite-only, prevents all uninvited users from joining the channel. Inviting users to the current channel will be discussed in the advanced topics section.
To illustrate this point, say a person named "dogman" changes their channel to #lizard-herding. If #lizard-herding does not exist already with other users there, it will be created and dogman will be the only user on the channel. If another user "flume" joins the channel and dogman leaves, the channel will still exist because flume is there. If flume leaves, the channel will be destroyed. Dogman can always go back to #lizard-herding and the channel will be recreated, but the old topic and channel flags will not carry over; dogman will have to set them again.
As an aside, bots can make IRC pretty interesting. For example, some bots are programmed to automatically respond to certain keywords and "play human." If you're familiar with the Turing test in artificial intelligence, you'll recognize why some extremely advanced AIs were developed as IRC bots to facilitate real-world conversation testing. Most bots, though, are not very advanced and just do stuff like auto-op other users. Bots will sometimes kick users off a channel, for example when I was testing CujoChat with netcom, I was kicked off a channel because a bot was programmed to auto-kick netcom users off. Every now and then a bot will go nuts, e.g. the programmer messed something up, and the results are pretty funny. On more than one occasion I've seen a bot go berserk and start auto-kicking everyone off a channel as soon as they joined.