Netsplits can be an issue depending on the script. No matter the script, if you have this problem, you can usually manage to fix it by using something like:
on *:join:#yourchan: {
if ($nick($chan,0) > %limit) {
.timerlimit 1 1 mode $chan +l $calc(%limit + 5)
}
}
Notes:* This will get your limit set right away so people are not left waiting right after a netsplit.
* Set %limit to whatever number your limit is set to whenever it's changed
* I'm unsure if there is a way to see your channel's limit at any given time with a script. If so, use that instead of a %limit variable. Something like $mode($chan).limit --- though, I'm sure that doesn't work.
* When a rejoin from a netsplit happens after a limit was changed to a lower number (from lower people in the channel), then you usually end up with having more people in the channel than the limit would allow. People can rejoin automatically from a netsplit regardless of limit. So, this would just check to see if more people are in the channel than the limit would allow and, if so, resets the limit. The only other ways I can think of for having more people than the limit is 1) Someone lowers it to less than the number of people in the channel, or 2) Someone uses invites.
* The only thing this will not help with is when a netsplit rejoin happens which puts the number of people in the channel equal to the limit. You can avoid this by putting in a timer that will reset the limit after a specific time period.
.... Now that I'm done writing this, I'm thinking that this is probably only useful to people who just want a limit to change every X seconds/minutes rather than whenever people join.