ChatterRoom by Mike Stewart Copyright (C) 2000, Mike Stewart Based on S8 Chat - http://www.s8.org Released under the GNU Public License - see GNU.txt Working Demo at: http://hammer.prohosting.com/~mike1983/cgi-bin/chat/ Source Code at: http://hammer.prohosting.com/~mike1983/code/chat/ ----------------------------------------------------------------------------- ChatAdd Commands for controlling the chatroom. ----------------------------------------------------------------------------- NOTE: These commands will affect the chatroom that is currently visible. All commands are in the following syntax: -cmd:pass:arg1:arg2 cmd - the command to execute pass - the banning/command password for that room arg1 - the first argument to pass arg2 - the second argument to pass The second and third colons (:) are not required unless there is an argument after it. Commands: --------- Banning: -ban:pass:IP Bans any users that match the IP from the chatroom. The banning matches with the first three parts of the IP. So if one user has IP 206.44.92.87, and you ban another with IP 206.44.92.167, then both users will be banned. I only match the first three parts because if the user goes offline, then back online, thier IP will change, but usually only the last part. NOTE: This command will show the ban file after it completes, so the administrator can see the list of IP's that are banned. _________________________________________________________________ Unbanning: -unban:pass:IP Unbans the IP from the chatroom. NOTE: This command will show the ban file after it completes, so the administrator can get the IP to unban exactly. To just view the ban file, then don't enter an IP, but leave the last colon (:) in. ______________________________________________________________________ Clear: -clear:pass Clears the chat room of all posts. __________________________________ Change Privacy Password: -pass:banpass:oldpass:newpass This will chamge the privacy password. NOTE: If there is not a password, then the administrator can set a password using this command (-pass:banpass::newpass), thus making it a private chat. This also works the other way around. A password can be removed by using -pass:banpass:oldpass: ___________________________________________________________________ Change the Banning Password: -banpass:oldpass:newpass This will change the banning password. WARNING: USE THIS WITH CARE! ______________________________________ Edit the Header and Footer files: -edit:pass The whole appearance of the chat can be changed. Just change the header and footer files, which are put at the top and bottom of the chat, respectively. HTML is allowed, and encouraged to be put here. ________________________________________________________________ These are all the commands that can be sent from the ChatAdd. I plan to add more in future versions.