forked from florian-sander/gseen.mod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
138 lines (104 loc) · 4.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
Description:
------------
gseen.mod is a seen module for eggdrop that tracks not only the users in the
bot's userfile, but everyone who enters one of the bots channels.
It does pretty much the same as the popular script bseen and has a few
additional features like AI-seen and seen-notification.
It's also way faster than any corresponding script because scripts are always
much slower than modules. Especially scripts that deal with large amount of
data often become incredible slow.
Installation:
-------------
gseen.mod should work with eggdrop 1.8.4 and newer.
You need the eggdrop source to compile the module.
The following instructions assume, ~/eggdrop-1.10.0/ is the directory
where you installed your eggdrop from. (of course, other source dirs
will work as well)
Put gseen.mod-1.4.4.tar.gz in ~/eggdrop-1.10.0/src/mod/,
and unpack it (tar xfz gseen.mod-1.4.4.tar.gz). Change directory
back to ~/eggdrop-1.10.0/.
Now just do what you've done when you compiled your bot:
"./configure"
"make config"
"make"
"make install"
Don't forget to copy the langfiles from eggdrop-1.10.0/src/mod/gseen.mod/ to
eggdrop/language.
All settings can be found in ~/eggdrop-1.10.0/src/mod/gseen.mod/gseen.conf
Copy it to your eggdrop directory, edit it to fit your needs and put
"source gseen.conf" at the end of your eggdrop config file. The last thing
to do is to .rehash your bot.
Public commands:
----------------
!seen <nick>
I think this command doesn't need an explanation. ^_^
!seen <mask>
Searches the database for entries that match <mask>
for example "!seen *!user@dialin-*.isp.com"
!seennick <nick>
!seen also checks if a user was online later with a
different nick. !seennick only seens for <nick>
!seenstats
just a little report on how many nicks are tracked
All commands are also accessible via /msg.
("/msg <bot> seen <nick>", for example)
AI seen:
--------
This module has a simple built in AI routine.
A short example:
<G`Quann> Argo: have you seen Fabian recently?
<|Argo|> G`Quann, fabian ([email protected]) was last seen quitting
from #eggdev 1 week 4 days 9 hours 40 minutes 56 seconds ago
(20.02. 01:39) stating ".....zzzzZZZzzZZZzZZZZZZZZZZzzz..".
Well, it's not a very intelligent AI, it's rather brute-force. So don't
forget to use the ai-seen-ignore setting.
I know that's not coded very elegant, but if you configure it correctly,
the failure-rate is way lower than with other AI scripts...
DCC commands:
-------------
.seen
.seennick
.seenstats
just the same as the public versions
.purgeseens
deletes expired data (this also happens automatically once a day)
(m)
Channel Settings:
-----------------
+noseendata
don't log any seen data in this channel
+quietseens
send answers directly via notice to the person who asked and
don't bother the rest of the channel with the reply
+quietaiseens
same as +quietseens, but for AI seens
+nopubseens
ignore every seen-command in this channel
TCL commands:
-------------
There are no special tcl commands, only the usual bind procs.
The only one that should be mentioned is:
*pubm:seen <nick> <uhost> <hand> <chan> <text>
triggers the AI seen
returns: 1 if a reply was sent, 0 otherwise
So if you're using another AI script on your bot, you can modify it to
use this proc and avoid doubled replies this way.
Other:
------
There is absolutely NO WARRANTY on this module. I do my best to make it
work properly, but if anything gets screwed up, I'm not responsible. Use
this module at your own risk.
Homepage:
---------
The newest gseen version can always be found at:
https://github.com/michaelortmann/gseen.mod
https://www.kreativrauschen.com/gseen.mod/
Thanks to:
----------
- Fabian for teaching me plenty of things
- everyone who tested the many buggy development versions :)
- the eggdev team for developing eggdrop
Most of all, I would like to thank Bass for writing bseen.tcl because a lot
of the ideas for this module came from using that tcl script. It's still the
most powerful seen script, so if you want something that's easier to use than
a module, get a copy of bseen.tcl.