Version: 1.00, by sas1911
Developer Last Online: Mar 2007
Version: 2.2.x
Rating:
Released: 07-08-2002
Last Update: Never
Installs: 18
No support by the author.
First and foremost, I would like to thank Sparkz for a little bit of TCL help. I had been playing with the idea for some time now of using an eggdrop bot and vBulletin to put current chatters on my forum home. Unfortunately, I couldn't find the perfect TCL to use. The current TCL is a mix between my own script, a script I found online and Sparkz script.
** YOU MUST HAVE AN EGGDROP BOT **
After seeing this hack on vbulleting.org, I wanted it for my site. Unfortunately, it was not being released, so I decided to make my own! Here it is, hopefully you can figure most of it out yourself.
What it does is uses an eggdrop bot (not going to explain what it is). The bot refreshes the userlist when a user leaves or enters the channel, this keeps the list up to date always. When you load index.php, the list is downloaded from the shell and read into a variable. This variable can be put on your forumhome template
and viewed by the user. This hack also gets the current channel topic and the current server that the chat is on.
Pros:
* Works for any IRC method (jpilot, mirc, eirc, etc.)
* No page refreshing or database calls
* Is ALWAYS up-to-date
Cons:
* Uses FTP and eggdrop
Support for this hack is limited due to the fact that I am a busy person.
I hope you enjoy this hack, it's my first.
- joey
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by zman The original hack does not track people leaving the channel so it only updates on join.
Right, and I modified the TCL script so that it SHOULD (I think) work on a number of events (join, part, sign off, topic change, etc.). However, it doesn't actually work. I don't know my TCL that well, so maybe someone can tell me where I'm going wrong? I've got the original hack working great, except that it doesn't update when someone leaves or signs off.
Originally posted by jcroft Right, and I modified the TCL script so that it SHOULD (I think) work on a number of events (join, part, sign off, topic change, etc.). However, it doesn't actually work. I don't know my TCL that well, so maybe someone can tell me where I'm going wrong? I've got the original hack working great, except that it doesn't update when someone leaves or signs off.
It actually DOES work... However, the person who just parted or quitted will still be in the chan list...
From a tcl-commands.doc which was included in eggdrop:
Quote:
chanlist <channel> [flags[&chanflags]]
Description: flags are any global flags; the '&' denotes to look for
channel specific flags. Examples:
n (Global Owner)
&n (Channel Owner)
o&m (Global Op, Channel Master)
Now you can use even more complex matching of flags, including +&- flags
and & or | (and or or) matching.
Returns: list of nicknames currently on the bot's channel that have all
of the flags specified;. If no flags are given, all of the nicknames
are returned. Please note that if you're executing chanlist after a
part or sign bind, the gone user will still be listed, so you can
check for wasop, isop, etc.
So, if you have several quits in a row the number will get lower...
ok i have a hosted server for my website which has a ton of space so thats no big deal. I dont thing eggdrop is on there but do I need to call my host and have them put it on or can I do it myself...sorry to bother. later