View previous topic :: View next topic |
Author |
Message |
mvp1 Voice
Joined: 27 Jan 2022 Posts: 22
|
Posted: Thu Aug 04, 2022 4:19 am Post subject: Kick Counter for only Bot's kicks & Counter Stored in Fi |
|
|
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 |
|
 |
SpiKe^^ Owner

Joined: 12 May 2006 Posts: 809 Location: Tennessee, USA
|
|
Back to top |
|
 |
mvp1 Voice
Joined: 27 Jan 2022 Posts: 22
|
Posted: Sat Aug 06, 2022 5:16 am Post subject: |
|
|
SpiKe^^, thanks a lot mate. The code on above thread you mentioned has helped. |
|
Back to top |
|
 |
|