You probably already have a custom alias, if it set the modes, because when I do:

/mode #channel +s +t +i +l 3

it did

[20:56:53] * FiberOPtics sets mode: +s

So try to find that alias which is doing this. Somewhere in the alias, it'll probably have the diff modes stored in a %var, so you could add your code "if h isincs %var" { ... } or something. You're the scripter, you'll figure it out smile

Greets