Author |
Topic |
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 28 October 2002 : 06:19:59
|
OK, with all the talk lately of Project Dolphin images and WinAmp stuff, is there an easy way to :
I would like to add an extra section to my forum, that lists the users in a certain IRC channel. Is this doable ? I know the forum members don't use the same names in IRC that they have in Snitz, but surely there's an IRC command the users in the channel ?
Thanks in advance. |
|
Naveed
New Member
Norway
85 Posts |
Posted - 30 October 2002 : 10:45:18
|
First of all get the usernames to the web somehow, using a chat robot or something. next use xmlhttp, asptear or something to insert these users where u want them. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 01 November 2002 : 19:59:10
|
Has anyone tried this ?? ... I keep running into brick walls |
|
|
Naveed
New Member
Norway
85 Posts |
Posted - 05 November 2002 : 12:15:07
|
Yeah I made something similiar some time ago.
I used an eggdrop, and made a TCL script for it, by opening a connection to this eggdrop, u can make it perform a command, like collecting all the names in the channel, u will get this data as raw text, now use an asp script from ur site to manipulate the output data. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 05 November 2002 : 15:35:02
|
Thanks, can you drop me any code snippets for this ? I've tried a few ways, but can't get anything to work at all |
|
|
Naveed
New Member
Norway
85 Posts |
Posted - 05 November 2002 : 16:50:17
|
Sorry, I no longer have my shell accounts, so I've lost my files too, but this is howto do it: u need an eggdrop, make a script: 1. make the script open a port for itself, (eggdrop has allready one telnet port, the new one shall be directed to this script.) 2. when u now visit the eggdrops IP along with the port, lets say: hello@I.am.an.eggdrop.com:1234 eggdrop shall recieve this command 3. now u use the TCL file u made to output the usernames, ( execute the command on the eggdrop, and output through "putdcc $idx") so next time u visit this page, eggdrop will send the usernames to ur browser. 4. Use xmlhttp, or something similiar, to make ur webserver visit this page each time someone wants to see the information. 5. Manipulate the xmlhttp page u have, so u can display the info in a better way.
Thats all :) Sorry I couldnt help u anymore, I made this script a long time ago, and have no backup copy. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 05 November 2002 : 17:00:48
|
So I need shell script access to the IRC server ? I don't think that is possible in my config ... it's not my IRC server |
|
|
|
Topic |
|