| View previous topic :: View next topic |
| Author |
Message |
Pixelz Voice

Joined: 15 Jun 2005 Posts: 24 Location: EFnet
|
Posted: Mon Apr 05, 2010 10:22 am Post subject: pixseen v1.0 |
|
|
Here's my seen script for a new age.
Features:
- SQLite powered
- Tracks everyone it sees
- Search nick/uhost/chan using exact, glob (*?) or regex matching
- Import your old seen database from bseen or gseen
- Easily translated or themed using msgcat
- Per-channel language setting
Dependencies:
- Tcl 8.5
- msgcat 1.4.2 (this is included in Tcl 8.5)
- SQLite 3
Usage:
To import your old bseen or gseen database, use the included import scripts. Do NOT load these importers from within Eggdrop.
| Code: | ./pixseen-import-bseen.tcl ../bs_data.bot
./pixseen-import-gseen.tcl path/to/gseen.dat |
This will generate a pixseen.db file in the same directory as the importer script. Move this into the eggdrop "scripts" directory if it's not there already, or change the setting in pixseen.tcl.
To turn on the output in a channel:
| Code: | | .chanset #chan +seen |
The script will track people in any channel, it just won't answer to !seen requests if this isn't turned on.
To change the language for a channel:
| Code: | | .chanset #chan seenlang en |
Currently supported languages are "en" and the example translation, "en_us_bork"
Public trigger:
| Code: | | !seen [-exact/-glob/-regex] [--] <nick> [user@host] [channel] |
Examples:
| Code: | !seen nick
!seen -exact nick
!seen -glob ni*ck
!seen -regex ni.* .*\.host\.(com|net|org) |
/msg trigger:
| Code: | | /msg botnick seen [-exact/-glob/-regex] [--] <nick> [user@host] [channel] |
partyline/dcc trigger:
| Code: | | .seen [-exact/-glob/-regex] [--] <nick> [user@host] [channel] |
Download:
pixseen1.0.tar.gz |
|
| Back to top |
|
 |
Koo Voice
Joined: 02 Apr 2010 Posts: 37
|
Posted: Mon Apr 05, 2010 11:32 am Post subject: |
|
|
Oh, this script looks great. I think I should give it a try.
Wait, will this script will me the the time <nick> stayed on the channel when I type !seen <nick>? |
|
| Back to top |
|
 |
Pixelz Voice

Joined: 15 Jun 2005 Posts: 24 Location: EFnet
|
Posted: Mon Apr 05, 2010 11:37 am Post subject: |
|
|
| Koo wrote: | | Wait, will this script will me the the time <nick> stayed on the channel when I type !seen <nick>? |
If the person is still on the channel, it will say when he last spoke. It won't tell you how long someone stayed on a channel. |
|
| Back to top |
|
 |
Koo Voice
Joined: 02 Apr 2010 Posts: 37
|
Posted: Mon Apr 05, 2010 11:44 am Post subject: |
|
|
| Pixelz wrote: | | If the person is still on the channel, it will say when he last spoke. It won't tell you how long someone stayed on a channel. |
Oh, that sounds great too. Thanks Pixelz. :3 |
|
| Back to top |
|
 |
horgh Voice
Joined: 13 Feb 2010 Posts: 10
|
Posted: Wed May 12, 2010 5:16 pm Post subject: |
|
|
Thanks for the great script! Got it loaded on all my bots.
If you do another release I have a couple minor requests/suggestions!
- some kind of status of db like size, num of nicks
- help/usage if just !seen or some such. I see there is some code here for this but bot doesn't say anything when I try just !seen. Maybe I'm reading it wrong. |
|
| Back to top |
|
 |
Pixelz Voice

Joined: 15 Jun 2005 Posts: 24 Location: EFnet
|
Posted: Sat May 15, 2010 2:53 pm Post subject: |
|
|
| horgh wrote: | | - some kind of status of db like size, num of nicks |
This is planned for the next release.
| horgh wrote: | | - help/usage if just !seen or some such. I see there is some code here for this but bot doesn't say anything when I try just !seen. Maybe I'm reading it wrong. |
This has been fixed in SVN.
I've been busy with work lately so I'm not sure exactly when the next release will happen though. |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Sun Sep 29, 2013 12:39 pm Post subject: |
|
|
pixseen.tcl error; ::pixseen::Hand2Uhost was unable to extract uhost. PLEASE REPORT THIS BUG!
any idea why I get this error?
I think I should inform you that, apparently I tried to import gseen's database but I guess it didn't work.
And by the way, is it possible for this script to be modded to inform with a notice the user that someone was looking for them? like how gseen.mod does? that would be awesome  _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
Pixelz Voice

Joined: 15 Jun 2005 Posts: 24 Location: EFnet
|
Posted: Sun Sep 29, 2013 1:10 pm Post subject: |
|
|
| spithash wrote: | pixseen.tcl error; ::pixseen::Hand2Uhost was unable to extract uhost. PLEASE REPORT THIS BUG!
any idea why I get this error? |
There's some kind of problem with the logic there, I'm not sure what exactly. _________________ Pixelz @ EFnet, freenode, QuakeNet, Undernet |
|
| Back to top |
|
 |
|