View previous topic :: View next topic |
Author |
Message |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 34
|
Posted: Mon Aug 15, 2022 8:02 pm Post subject: Channel Statistics (plz!!) |
|
|
Greetings friends, there is a tcl that does this routine for example, Every 2 Hours.
I have seen it in an mIRC Bot, Thank you in advance for your responses.
Sorry my bad english
Quote: |
* <+TheBot> == Channel Statistics #Channel ==
* <+TheBot> -----------------------------------
* <+TheBot> Owner - (1/258) - (0.12%)
* <+TheBot> Ops - (2/258) - (0.78%)
* <+TheBot> Halfop - (162/258) - (%62.79%)
* <+TheBot> Voice - (94/258) - (%36.43%)
* <+TheBot> Total - (258\258) (100%)
* <+TheBot> -----------------------------------
|
Last edited by ORATEGOD on Thu Aug 18, 2022 3:57 pm; edited 2 times in total |
|
Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1188
|
Posted: Mon Aug 15, 2022 10:08 pm Post subject: Re: Channel Statistics (plz!!) |
|
|
I can't directly answer your question. But, while you wait to see if anybody else can, perhaps you'd like to check out:
http://tclarchive.org/search.php?str=channel+stats&cb1=t&cb2=a&cb3=d&sub.x=0&sub.y=0
and/or do some other searching there, too.
Just to see if there is anything there that will do what you want.
Best of luck with it. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
Back to top |
|
 |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 34
|
Posted: Sat Aug 20, 2022 12:57 am Post subject: Re: Channel Statistics (plz!!) |
|
|
Thank you very much for the information. |
|
Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1188
|
Posted: Sat Aug 20, 2022 9:31 am Post subject: Re: Channel Statistics (plz!!) |
|
|
You're welcome.
Something else has come to mind. This too, does not directly fill your request.
But, if you are interested in channel stats, then there is a possibility that you will find this interesting.
First, visit:
https://www.kreativrauschen.com/stats.mod/
I think that's where this module originated. There is a description there.
This module has been around for a while.
At some point in time - I think it was when version 1.8 of Eggdrop came out - this module (and apparently, others too) had problems.
They worked on them.
Here is where they made the fixed versions available.
Visit:
https://ftp.eggheads.org/pub/eggdrop/modules/1.8/
You can see stats.mod.1.3.3-pseudo.tar.gz there.
I haven't installed it myself in a while. But I have used stats.mod.1.3.3-pseudo.tar.gz on Eggdrop version 1.8x bots and it works.
I have not tried it on 1.9x yet.
( I also see: https://ftp.eggheads.org/pub/eggdrop/modules/ there now.
That's new to me. I don't know what is in the 1.9/ dir. )
This is a module, not a script. Means that you don't simply load it with a source line in eggdrop.conf. ( You do load some of its config that way though) You unarchive the file in the correct place (follow the directions) and then re-compile eggdrop and re-install. It takes longer to read the directions than it does to actually do it.
Once you have it up and working properly, you can issue public commands in a channel, and it will have the bot respond. Stats, etc.
And! ... ... it can respond to a web browser! You can tell people the url:portnumber to put into their browser and the bot will make a stats page, on-the-fly , live ! Tons of stats info can be viewed, just by clicking around.
I think you said something about a timed announcement of stats? Perhaps instead, you could have your bot do a timed announcement of the
url:portnumber to visit ?
Just a thought ...
Good luck with your endeavors.
 _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1188
|
Posted: Sat Aug 20, 2022 9:37 am Post subject: Re: Channel Statistics (plz!!) |
|
|
Another thought:
Check out:
http://pisg.sourceforge.net/
PISG can examine the bot's log, and make a NICE looking webpage.
Stats, etc.
I used to have it run by crontab.
Then, I'd have the bot do a timed annoucement with the url to visit, to view it. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1074 Location: France
|
Posted: Sat Aug 20, 2022 9:47 am Post subject: Re: Channel Statistics (plz!!) |
|
|
willyw wrote: | Another thought:
Check out:
http://pisg.sourceforge.net/
PISG can examine the bot's log, and make a NICE looking webpage.
Stats, etc.
I used to have it run by crontab.
Then, I'd have the bot do a timed annoucement with the url to visit, to view it. |
With pisg, you can also export stats in raw mode http://pisg.sourceforge.net/documentation#StatsDump
Quote: | This option is intended for debugging pisg, but might be useful to process the parsed logs with another program. The file contains the %stats and %lines hashes in perl's Data::Dumper format. |
BTW, I also did a little logger (statirc) but it doesn't log modes (voice, halfop, op) _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|