Giter Site home page Giter Site logo

harekiet / gseen.mod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from florian-sander/gseen.mod

0.0 0.0 0.0 45 KB

gseen.mod is an eggdrop module for providing information when users were last seen on a channel.

Home Page: http://www.kreativrauschen.com/gseen.mod/

Makefile 0.96% Tcl 1.87% C 97.17%

gseen.mod's Introduction

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 is written for eggdrop1.6, but it should also work with eggdrop 1.4.
It has been reported to work with eggdrop 1.8, but I did not test it
myself on that version.

You need the eggdrop source to compile the module.

The following instructions assume, ~/eggdrop1.6.2/ is the directory
where you installed your eggdrop from. (of course, other source dirs
will work as well)

Put gseen.mod.1.1.2.tar.gz in ~/eggdrop1.6.2/src/mod/,
and unpack it (tar xfz gseen.mod.1.1.2.tar.gz). Change directory
back to ~/eggdrop1.6.2/.

Now just do what you've done when you compiled your bot:
"./configure"
"make config" (you can skip this command on eggdrop 1.4)
"make"
"make install"

Don't forget to copy the langfiles from eggdrop1.6.2/src/mod/gseen.mod/ to
eggdrop/language.

All settings can be found in ~/eggdrop1.6.2/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:
http://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 alot
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.

gseen.mod's People

Contributors

florian-sander avatar harekiet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.