How can I set up a website which says "x amount of users currently chatting on this network (x guests, x members), x users registered."
and also it has a forum you can full out and it registers your username on the irc network and also a forum where you can login and identify to a username then connect to the network.
Can this be done?
~cheers
IRC Chat website
Moderator: General Moderators
Yes, it can be done. What you have to do is write a script that stores whoever is logged in, into a text file or database. You will also need to use a timestamp field to track when the users last activity was. With that timestamp, you can program your script to delete users from the logged in database or textfile who have not accessed a webpage or sent any text message for x amount of time. (i.e. 20 Minutes)
As for your second question, I dunno. I am not familar with those protocols.
As for your second question, I dunno. I am not familar with those protocols.
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
-
rapaddict_dot_com
- Forum Commoner
- Posts: 27
- Joined: Tue Mar 16, 2004 4:54 pm
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
Check http://www.redvodkajelly.com/code/5 and then to register a user you just need to send:
Etc. Its just a case of connecting to the server and then issuing commands as you would do on any IRC program.
Code: Select all
PRIVMSG nickserv :REGISTER email password