You can also wait for the numeric 324 (channel modes)
- raw 324:& #channel *: if $regex($3,/[snt]/g) < 3 { mode $2 +snt }
I use $regex() to avoid counting upper-case channel modes which may have different meaning to the server. starbucks' method will work too

Next time you open a thread, please give it a meaningful subject to make it easy for people who search the board to find a relevant result.