View previous topic :: View next topic |
Author |
Message |
sauk Voice
Joined: 05 Jul 2020 Posts: 16
|
Posted: Sun May 22, 2022 4:54 am Post subject: |
|
|
You have no idea how grateful I am for the help. |
|
Back to top |
|
 |
sauk Voice
Joined: 05 Jul 2020 Posts: 16
|
Posted: Sun May 22, 2022 4:59 am Post subject: |
|
|
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 |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Sun May 22, 2022 7:09 am Post subject: |
|
|
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 |
|
 |
sauk Voice
Joined: 05 Jul 2020 Posts: 16
|
Posted: Fri Oct 07, 2022 10:54 am Post subject: |
|
|
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 |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Sat Oct 08, 2022 9:30 am Post subject: |
|
|
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 |
|
 |
sauk Voice
Joined: 05 Jul 2020 Posts: 16
|
Posted: Sat Oct 08, 2022 3:13 pm Post subject: |
|
|
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 |
|
 |
vam2u Voice

Joined: 27 Mar 2021 Posts: 30 Location: Malaysia
|
Posted: Sun Apr 23, 2023 10:14 am Post subject: |
|
|
I need help, done below but I'm still not able to get the script started.
.chanset +upcontest #my_channel.
Successfully set modes { +upcontest } on #my_channel. |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
|
Back to top |
|
 |
vam2u Voice

Joined: 27 Mar 2021 Posts: 30 Location: Malaysia
|
Posted: Sun Apr 23, 2023 11:33 am Post subject: |
|
|
CrazyCat wrote: | Did you do !start ? |
Yes I did in the channel  |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Mon Apr 24, 2023 4:48 am Post subject: |
|
|
If the eggdrop doesn't say "Uptime contest is now running!" when you type !start, there is a trouble with the bind.
Don't you use a script which colorize your line ? or having set your irc client to use colors by default ? _________________ 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 |
|
 |
vam2u Voice

Joined: 27 Mar 2021 Posts: 30 Location: Malaysia
|
Posted: Mon Apr 24, 2023 8:32 am Post subject: |
|
|
CrazyCat wrote: | If the eggdrop doesn't say "Uptime contest is now running!" when you type !start, there is a trouble with the bind.
Don't you use a script which colorize your line ? or having set your irc client to use colors by default ? |
My bad, It's my flag setting
Btw, how do I add a !status to check for current alive and still in the contest users? |
|
Back to top |
|
 |
|