Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Eggdrop IRC Manager Details »»
Eggdrop IRC Manager
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-14-2004 Last Update: Never Installs: 63
 
No support by the author.



The Eggdrop IRC Manager (EIM) is a TCL script for NIX Eggdrop or Win32 Windrop.

It will allow you to refresh your forum home with information about your channel, such as the nicks currently in it, the record users, and the activity of the channel.

This is a port from my IRC Channel Manager, yet that hack was for MIRC and had some bugs.

I created a new thread for this hack as the audience is different. Most people seeking eggdrops wont look into the mIRC thread.

The eggdrop version is far better than the former, so I highly recommend you make the switch if you're capable of running eggdrop.

Demos:
http://www.animesystem.com/forums/
http://www.buckeyeplanet.com/forum/

Quick overview of features
  • Uses MySQL database to store information.
  • Stable, fast, easy to deploy and use.
  • AdminCP interface for managing channels.

Only drawback currently is that you must run multiple bots with the script if you intend to update multiple channels. I will be working on a version that allows 1 bot to update multiple channels.

For those using IRC Channel Manager, making the upgrade is easy, just refer to the installation manual.

Examples attached. Enjoy!

Notice 1:

Ah yes, I forgot to mention the two manual bot commands in the documentation.

As a bot owner, type !refresh to manually refresh the channel. Type !startact to do the initial start of the activity timer. Both these commands should be performed when you first place your bot on the channel or after you rehash it when installing the script. You wont have to run these scripts again, unless your bot exits the channel.

Notice 2:

Your bot will refresh your channel whenever someone leaves, changes nick, joins, is kicked, topic change, or a mode change occurs (such as someone being op'd, voiced, etc.)

On a large traffic intensive channel, this will make your bot very busy. Just be aware of this. I'll plan for a timer-version, where the bot updates every X minutes, in the future.

FAQ

What is an eggdrop?
http://www.eggheads.org/

Will this work with my java IRC client? (pjIRC, etc.)
Read what an eggdrop is. Once you figure it out, you'll know that they are completely independent things.

How do I start up my own IRC channel?
This thread isn't a beginners guide to IRC. For that, refer to Google:
http://www.google.com/search?hl=en&i...s+guide+to+irc

Will this work with vB 3.x.x?
More than likely, since there is little modification to vBulletin.

:up:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-11-2004, 06:04 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks a lot for the detailed response.. I'll certainly play around with the settings and see what I can do!

So this is more reliant upon how many users are in the chat, then how many are actually talking/lines of text?

-Jason
Reply With Quote
  #43  
Old 03-11-2004, 09:54 PM
er0sion er0sion is offline
 
Join Date: Jun 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you look at the ircrefresh.tcl, (the file loaded by the eggdrop used for monitoring the channel and determining stats) you'll notice the line:

bind pubm - * incr_activity

what this line does is call incr_activity in the channel everytime a message is typed in the channel and the bot sees it.

incr_activity is just the way the eggdrop determines activity, incrementing the activity by 1 on each message detected in the channel. So, depending on how active your channel is (how many people are typing at once) this will increase.

proc incr_activity {nick host hand chan {text ""}} {
global activity irc_chan

if {$chan != $irc_chan} {
return 0
}

incr activity 1

return 0
}


The thing to note, is that, when the bot decides to update the activity, (by writing the activity to the database every 180seconds (2mins)) it will reset the activity back to 0. So maybe change activity_wait (in ircrefresh.tcl) to something like 3 mins or 3 anda half mins, so that your activity will be greater when it gets written to the database. (note: .save and .refresh your bot after doing this). Again, this will be trial and error as well
Reply With Quote
  #44  
Old 03-11-2004, 10:00 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is all starting to go past my expertise. ;( hehe...

We actually have a fairly lively chat room, with 10+ people talking regulerly and about 30-40 in there at any given time.. Any recommended settings for the fields specifically? I tried a few things and nothing seemed to change the meter...
Reply With Quote
  #45  
Old 03-11-2004, 11:26 PM
Iamtech1 Iamtech1 is offline
 
Join Date: Jan 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am stumped. I cant get this to work... ;( and I know its user error. grrrrr...
Reply With Quote
  #46  
Old 03-12-2004, 08:36 AM
er0sion er0sion is offline
 
Join Date: Jun 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alien
This is all starting to go past my expertise. ;( hehe...

We actually have a fairly lively chat room, with 10+ people talking regulerly and about 30-40 in there at any given time.. Any recommended settings for the fields specifically? I tried a few things and nothing seemed to change the meter...
change incr activity 1
to incr activity 2
Reply With Quote
  #47  
Old 03-12-2004, 08:37 AM
er0sion er0sion is offline
 
Join Date: Jun 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Iamtech1
I am stumped. I cant get this to work... ;( and I know its user error. grrrrr...
where are you having problems?
Reply With Quote
  #48  
Old 03-15-2004, 01:58 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For your problem Alien, you should set the activity_wait variable in the TCL script from the default 180 (3 minutes), to something such as 360 (6 minutes).

If you haven't already fixed it.

This gives the bot a longer sampling time to gauge activity.
Reply With Quote
  #49  
Old 03-22-2004, 10:29 PM
Hazzo Hazzo is offline
 
Join Date: Feb 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod.. Works fine!!

Just a future suggestion--
maybe you can add support for the ! (channel owner) and % (halfops) to this great script..
Reply With Quote
  #50  
Old 03-23-2004, 12:00 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunantly I don't know how to grab the ! or % users with the eggdrop IRC functions. If I have time I'll look around for how to do so.
Reply With Quote
  #51  
Old 03-23-2004, 04:47 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
For your problem Alien, you should set the activity_wait variable in the TCL script from the default 180 (3 minutes), to something such as 360 (6 minutes).

If you haven't already fixed it.

This gives the bot a longer sampling time to gauge activity.
Hey been so busy I haven't had time to play with it, I'll give that a try too! Thanks so much!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07799 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete