If a channel becomes opless, and there are scores in chanfix's database for this channel, chanfix will try to fix this channel. In other words, it will give ops to the clients it thinks deserve it the most.
For each automatic opless channel fix (autofix), a time window of 60 minutes is reserved. During this window chanfix will op eligible clients. Atleast one client each time.
There are, of course, requirements to the minimum score that you need to have before chanfix will op you. This minimum score is determined both from the absolute maximum score that can be obtained, and from the maximum score available in the channel that is being fixed.
The first time that chanfix ops clients, it will only op clients with:
- at least 90% of channel_max_score (variable)
- and at least 40% of max_score (default: 0.4 * 4032 = 1613)
The last time that chanfix can possibly op (which is after the autofix_time_maximum has passed), it will only op clients with:
- at least 30% of channel_max_score (variable)
- and at least min_score (default: 0.04 * 4032 = 162)
In between, chanfix will use a linear formula to determine the decrease of these values over time.
Numbers are bad, pictures are good, so let's look at two pictures, the first for a channel with channel highscore 2600 points, and the second for a channel with a maximum score of only 1200 points.
In the first picture you see what happens if you have a channel with a high score. Clients in the area marked green have a high enough score to be opped. So from time 0 until time 60, chanfix could op clients that have a high enough score. The more time passes, the lower score chanfix will accept for giving ops.
The second image shows a situation where the maximum channel score is relatively low (only 1200). This means that there are no clients yet who are above the 40% of the maximum (4032) limit, and therefore chanfix will not pass out ops immediately. Up to time t1, chanfix will not give any ops in the channel.