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 

User Chat counter

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Felix2003
Voice


Joined: 06 Feb 2009
Posts: 24

PostPosted: Tue Feb 22, 2011 1:45 am    Post subject: User Chat counter Reply with quote

Hello all i have searched the forums and couldn't find anything like this so my apologises if there is one

im looking for a script that will count the amount of times a user writes a line and also log the line they said

something like this

me: hello all
you: howdy
me: greetings
you: begin the test

they would be saved to the log file and then i do something like !stats and it shows

Me: 2 Lines
You: 1 Line(s)

but i also want the ability to type !scratch and the last line that the user who typed !scratch is deleted from the log or maybe !scratch what ever was said and it deletes that line from the log

an example

me: hello all
you: howdy
me: greetings
you: begin the test
you: !scratch howdy
*bot queries you* howdy has been deleted from the log

with that in mind id also like a cmd that would show me how many scratches have been made and show the users who !scratched

so it would show

me: !scratchcount
Bot: 1 Scratch has been counted
Bot: Felix2003 has Scratched 1 time(s)
Bot: randomuser has Scratched 3 time(s)


Thank you for your time and i hope you can help me Smile

**Edit: almost forgot this will script will only be active in one channel but the !scratchcount and !stats can be used in any other channel the bot is in and i was wondering if there was a way for it to ignore action lines

like /me slaps you


Last edited by Felix2003 on Tue Feb 23, 2016 5:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Felix2003
Voice


Joined: 06 Feb 2009
Posts: 24

PostPosted: Sun Feb 14, 2016 6:55 pm    Post subject: Reply with quote

im still interested in this if anybody has any idea were i could look to get started Smile

any help is always appriciated
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 Requests 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