egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Channel Statistics (plz!!)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
ORATEGOD
Voice


Joined: 08 Jun 2020
Posts: 33

PostPosted: Mon Aug 15, 2022 8:02 pm    Post subject: Channel Statistics (plz!!) Reply with quote

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
View user's profile Send private message AIM Address
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1183

PostPosted: Mon Aug 15, 2022 10:08 pm    Post subject: Re: Channel Statistics (plz!!) Reply with quote

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
View user's profile Send private message
ORATEGOD
Voice


Joined: 08 Jun 2020
Posts: 33

PostPosted: Sat Aug 20, 2022 12:57 am    Post subject: Re: Channel Statistics (plz!!) Reply with quote

Thank you very much for the information.
Back to top
View user's profile Send private message AIM Address
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1183

PostPosted: Sat Aug 20, 2022 9:31 am    Post subject: Re: Channel Statistics (plz!!) Reply with quote

You're welcome. Smile

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

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! ... Smile ... 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 ! Smile 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.
Smile
_________________
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
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1183

PostPosted: Sat Aug 20, 2022 9:37 am    Post subject: Re: Channel Statistics (plz!!) Reply with quote

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
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1058
Location: France

PostPosted: Sat Aug 20, 2022 9:47 am    Post subject: Re: Channel Statistics (plz!!) Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber