Quote:
Originally posted by tpearl5
That's neat! It looks just like the UBB chat hack without the invite. (a chat invite would be a great feature, btw) Where did chat.php come from and how does it count who's chatting in the room?
Also, how did you set up the bot?
Putting the smilies in the main directory didn't seem to work. They show up on the main chat page, but not in the actual chat area.. strange..
|
I should probably write up detailed instructions....
THe bot is a program called PHP Egg:
http://sourceforge.net/project/showf...lease_id=30975
Basically it logs IRC activity in the channel it monitors into a SQL database. I'll post the code that reads it later tonight.
chat.php is a page I wrote, using the code posted elsewhere about integrating jpilot. Not too sophisticated
That bar that show's who's chatting uses a simple query to the bot's database to see who's active in the room (excluding both bots of course).
What is the Invite feature? How did it work?
Ethan