vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Eggdrop IRC Manager (https://vborg.vbsupport.ru/showthread.php?t=61570)

Alien 03-11-2004 06:04 PM

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

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

-Jason

er0sion 03-11-2004 09:54 PM

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 :)

Alien 03-11-2004 10:00 PM

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...

Iamtech1 03-11-2004 11:26 PM

I am stumped. I cant get this to work... ;( and I know its user error. grrrrr...

er0sion 03-12-2004 08:36 AM

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 :)

er0sion 03-12-2004 08:37 AM

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?

Velocd 03-15-2004 01:58 AM

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.

Hazzo 03-22-2004 10:29 PM

Great mod.. Works fine!!

Just a future suggestion--
maybe you can add support for the ! (channel owner) and % (halfops) to this great script..

Velocd 03-23-2004 12:00 AM

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.

Alien 03-23-2004 04:47 AM

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!


All times are GMT. The time now is 06:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02599 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete