| View previous topic :: View next topic |
| Author |
Message |
samhain Halfop
Joined: 03 Jan 2007 Posts: 77
|
Posted: Wed Jan 19, 2011 12:49 pm Post subject: stats.mod problems! |
|
|
[16:46:00] Stats.mod: Added firewall2011 to userlist.
I have a problem in my stats.mod I don't understand how to stop the bot from adding the users itself, I want to have my bot save stats for only those users who I add to the bot, but it adds users itself, also it adds new hosts to the users added how to stop this please explain.... |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Thu Jan 20, 2011 6:15 pm Post subject: |
|
|
I'll just asume you're using stats.mod 1.3 (stable version) of the module, the settings dont really change that much. The following options to do with adding users and hostmask updates. | Code: | # add new users to the database if they stay more than x minutes
# in the channel
# >0: enabled
# 0: don't add new users, but recheck every minute if a user idented himself
# -1: don't add new users and don't recheck every minute. If someone idents
# him/herself, he/she must cycle the chan to be recognized. (lowest CPU usage)
set autoadd 5 | not really relivant but can affect the behavour of the module are the following settings | Code: | ## don't add new hosts to users with the following flags
## (only works for users in the eggdrop-userfile, use
## .schattr <user> -addhosts for users in the stats-userbase)
#set anti-autoadd-flags "ofvb|ofv"
#
## exclude users with the following flags from the top10, top20...
## (also only for eggdrop-userfile. Use .schattr <user> -list.
#set anti-stats-flag "b|-" | From the README file | Quote: | User management:
----------------
Since v1.3.0, stats.mod has an internal userdatabase. It can automatically
add users and hostmasks to it. Users which are in the eggdrop userfile have a
higher priority, so if someone is known as "bla" by the bot and as "blub"
by stats.mod, his stats will be logged to "bla".
Hostmasks will be removed from a user if they haven't been used for a
specified time. If all hosts got removed from a user, the user will be erased
completely.
Note that stats.mod can't know when someone used IDENT or if someone added
new hosts to a user manually. The affected user should cycle the chan to make
sure that he's recognized correctly by stats.mod.
There are two flags for users: +/-list and +/-addhosts:
- If a user has the flag -list, he/she/it won't be listed in the top10. (you
probably want to set all your bot -list)
- If a user is -addhosts, no new hostmasks will be added to him/her. You'll
have to add all hosts manually with .+shost. (useful if someone if trying
to fake you) |
_________________ TCL the misunderstood |
|
| 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
|
|