good work, i find this very useful since it has options of more modes to set. i also found your other snippet, the ban lock snippet which i also use. :)
does this also lock the mode set?
maybe it would also nice if you make the same snippet for the invite and exempt (invite and/or exempt lock) as it can very well go with this snippet and would work against those ops who might try to -Ie you or any protected user while you\'re afk.. just a suggestion anyway :)
cool snippet.