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 

prediction tcl?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
jedis
Guest





PostPosted: Mon Dec 24, 2001 3:03 am    Post subject: Reply with quote

Looking for a script that stores information about how often a user joins a channel. It should mathematically calculate the average time that transpires between visits from a user, so that if i type !predict ppslim in the channel, the script will make an educated guess as to when should be the next time he joins.

Such as <Bot> jedis: ppslim will next join #eggdrop in approximately 3 hours and 46 minutes.

I suppose a modified !seen script would work, only it would have to remember perhaps the last 5 or 10 times the person joined, and be able to figure out how long in between each pair of consecutive visits, and average those 5 or 10 periods of time. If coding is not an issue, it could remember all visits, like the bseen script remembers all users.

It could be made more complex by having the script guess how long the person will stay:

<Bot> jedis: ppslim is expected to join #eggdrop in approximately 9 hours and 57 minutes; he will most likely stay for approximately 3 hours and 10 minutes

Has anyone seen such a script? Or can make one?

[ This Message was edited by: jedis on 2001-12-24 00:09 ]
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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