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 

Kick Counter for only Bot's kicks & Counter Stored in Fi

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


Joined: 27 Jan 2022
Posts: 21

PostPosted: Thu Aug 04, 2022 4:19 am    Post subject: Kick Counter for only Bot's kicks & Counter Stored in Fi Reply with quote

Hi guys,

Apologies if this is a duplicate request, appreciate if you can link me if this is already coded?
Otherwise, I'm looking for a Kick Counter Code with below requirements;
1) The counter should be stored in a file (e.g in kickscount.txt or .db inside /Scripts Directory on eggdrop)
2) No.1 should help the counter not get restarted on eggdrop restarts etc. And also the same kick count file should be accessed and incremented by multiple TCLs?
3) I have a few TCLs running on eggdrop, so I don't mind adding the code to every TCL file, as long as they all can access and increment the kick count to ONE single file.
4) I need it to count, store and read only the eggdrop's kicks. (Not every operator's kicks in channel etc)
5) If the count can be stored in a way I can use it in eggdrop's kick messages. E.g variable $kickcount etc

Much appreciated in advance.
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 785
Location: Tennessee, USA

PostPosted: Thu Aug 04, 2022 4:48 am    Post subject: kick counter Reply with quote

mvp1

Try this kick counter thread...
http://forum.egghelp.org/viewtopic.php?t=19012&highlight=kick+counter
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
mvp1
Voice


Joined: 27 Jan 2022
Posts: 21

PostPosted: Sat Aug 06, 2022 5:16 am    Post subject: Reply with quote

SpiKe^^, thanks a lot mate. The code on above thread you mentioned has helped.
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