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 

pixseen v1.0

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Mon Apr 05, 2010 10:22 am    Post subject: pixseen v1.0 Reply with quote

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
View user's profile Send private message
Koo
Voice


Joined: 02 Apr 2010
Posts: 37

PostPosted: Mon Apr 05, 2010 11:32 am    Post subject: Reply with quote

Oh, this script looks great. I think I should give it a try. Very Happy

Wait, will this script will me the the time <nick> stayed on the channel when I type !seen <nick>?
Back to top
View user's profile Send private message
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Mon Apr 05, 2010 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Koo
Voice


Joined: 02 Apr 2010
Posts: 37

PostPosted: Mon Apr 05, 2010 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
horgh
Voice


Joined: 13 Feb 2010
Posts: 10

PostPosted: Wed May 12, 2010 5:16 pm    Post subject: Reply with quote

Thanks for the great script! Got it loaded on all my bots.

If you do another release I have a couple minor requests/suggestions! Embarassed
- 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
View user's profile Send private message
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Sat May 15, 2010 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sun Sep 29, 2013 12:39 pm    Post subject: Reply with quote

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 Very Happy
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Pixelz
Voice


Joined: 15 Jun 2005
Posts: 24
Location: EFnet

PostPosted: Sun Sep 29, 2013 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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