Added in 1.9.0

$modespl

Returns the maximum number of channel modes detected in the servers 005 PREFIX token, e.g "MODES=12".

E.g if $modespl is 5, you can do /mode +ooooo to set five modes at a time.