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 

Stats.Mod Message Request...

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Romeyo
Voice


Joined: 01 Nov 2005
Posts: 12

PostPosted: Wed Nov 30, 2005 3:42 am    Post subject: Stats.Mod Message Request... Reply with quote

Hi ..
I am using the stats.mod .. i wonder can i limit the pvt message commands like top10 #chan and stat #chan nick only to peoples with n flag? I changed the binds for public command to n flag in the stats.conf.. Another thing is the bot takes some time when loading or upon startup.. statsmod.dat file is more than 10mb..
Thanks in advance Smile
Back to top
View user's profile Send private message
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Wed Nov 30, 2005 11:31 am    Post subject: Reply with quote

Hi,
Can't help you directly with the privmsg-commands,maybe you could try unbinding (like it's done in the stats.conf for the pubmsg's) and bind agian with the flags you desire. I'ts only a suggestion.....

To speed up the loading of your bot it's recommended to do a .purgestats once in a while to erase users that haven't been on your channel for some time, (also do .sumuser for people who change hosts alot -- then .purgestats again).

You also can try switching off wordstats, wich van verry cpu- and memory consuming..

GRTZ
Back to top
View user's profile Send private message MSN Messenger
Romeyo
Voice


Joined: 01 Nov 2005
Posts: 12

PostPosted: Wed Nov 30, 2005 12:05 pm    Post subject: Thanks :) Reply with quote

Hiya ppls,
Thanks... i myself found out the way by typing binding all the message commands to the thing it points in the module file ... I came here to share it... Here is the code i have added in the stats.conf file for those who may want it in future..

Code:

catch "unbind msg n|n top10 *msg:top10"
catch "unbind msg n|n ttop10 *msg:ttop10"
catch "unbind msg n|n top20 *msg:top20"
catch "unbind msg n|n ttop20 *msg:ttop20"
catch "unbind msg n|n stat *msg:stat"
catch "unbind msg n|n tstat *msg:tstat"
catch "unbind msg n|n place *msg:place"
catch "unbind msg n|n tplace *msg:tplace"
catch "unbind msg n|n wordstats *msg:wordstats"
catch "unbind msg n|n topwords *msg:topwords"
catch "unbind msg n|n setemail *msg:setemail"
catch "unbind msg n|n sethomepage *msg:sethomepage"

bind msg n|n top10 *msg:top10
bind msg n|n ttop10 *msg:ttop10
bind msg n|n top20 *msg:top20
bind msg n|n ttop20 *msg:ttop20
bind msg n|n place *msg:place
bind msg n|n tplace *msg:tplace
bind msg n|n stat *msg:stat
bind msg n|n tstat *msg:tstat
bind msg n|n wordstats *msg:wordstats
bind msg n|n topwords *msg:topwords
bind msg n|n setemail *msg:setemail
bind msg n|n sethomepage *msg:sethomepage


Anyway Thanks for helping out... Dusk Smile
Back to top
View user's profile Send private message
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Wed Nov 30, 2005 12:52 pm    Post subject: Reply with quote

Hi,

That was exactly what I meant Smile ,

thx is ,altough very friendly, not really nescesary, tha's what a forum is for , is it not? :p

You're welcome btw.

GRTZ
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming 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