Quote
And why is he deopping four users at a time? Wouldn't three be a better choice?
The best choice would be the maximum number of mode changes the IRC network allows per line. The $modespl identifier is used for that. There is no standard so max number of mode changes in a single command can be anywhere between 1 and infinity.

If you have 100 users and deop three at a time the script would need to do "/mode #channel -ooo xxx xxx xxx" 33.333333 (actually 34 since you have one user left over) times. (100 / 3 = 33.333333) .

If you have 100 users and deop four at a time the script would need to do "/mode #channel -oooo xxx xxx xxx xxx" 25 times. (100 / 4 = 25).