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 

Uptime contest
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
sauk
Voice


Joined: 05 Jul 2020
Posts: 16

PostPosted: Sun May 22, 2022 4:54 am    Post subject: Reply with quote

You have no idea how grateful I am for the help.
Back to top
View user's profile Send private message
sauk
Voice


Joined: 05 Jul 2020
Posts: 16

PostPosted: Sun May 22, 2022 4:59 am    Post subject: Reply with quote

I got this error when I try !stop.

Quote:
-10:58:22- (Uptime) [09:58:22] Tcl error [::uptime::stop]: can't unset "::uptime::tend": no such variable
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1057
Location: France

PostPosted: Sun May 22, 2022 7:09 am    Post subject: Reply with quote

Ok, source corrected, I changed the way it works when developing and forget that.

To correct that without copy/paste the source, find the following line:
Code:
      unset ::uptime::tend

Replace with:
Code:
      unset ::uptime::tstart


I'll add your two new queries in the day, but it will be the last additions. The script is quite simple, you can now use it (or its parts) as example to add what you want in it.

Edit : the last version is on gitlab
Remind I won't accept new demands for this script.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
sauk
Voice


Joined: 05 Jul 2020
Posts: 16

PostPosted: Fri Oct 07, 2022 10:54 am    Post subject: Reply with quote

Hey hello again, after some months of using script it works perfectly but has one "error" if we can call it like that.

Sometimes on NetSplits the bot eliminates netsplitted people when they dont deserve to get eliminated cause they didnt disconnect from server and they still voiced and with same uptime on server.

Can that "Error" be fixed somehow?
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1057
Location: France

PostPosted: Sat Oct 08, 2022 9:30 am    Post subject: Reply with quote

Quite complex to do as (I think) a netsplit runs two binds: the SIGN and the SPLT.
I can't provoc netsplits on my network, so I can't test which one called first.

And another difficulty: if someone leaves the channel during the netsplit, how can I manage ?

I'll make some tries but I can't promise I'll have a fix for the script.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
sauk
Voice


Joined: 05 Jul 2020
Posts: 16

PostPosted: Sat Oct 08, 2022 3:13 pm    Post subject: Reply with quote

CrazyCat wrote:
Quite complex to do as (I think) a netsplit runs two binds: the SIGN and the SPLT.
I can't provoc netsplits on my network, so I can't test which one called first.

And another difficulty: if someone leaves the channel during the netsplit, how can I manage ?

I'll make some tries but I can't promise I'll have a fix for the script.


Maybe checking after split who still voiced.

Thank you for your time.
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
Goto page Previous  1, 2
Page 2 of 2

 
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