Thanks Collective and Saturne .. I had noticed the +k was the wrong mode and put in the +l instead for what I'm working on.
on me:1:join:#:{ .timerlimitcheck 0 180 /limitcheck #channel }
alias limitcheck {
.set %LimCheck $calc($nick(#,0))
goto next
:next
if ( $me isop #channel ) && ( nickhere !isop #channel ) { .set %AdjLim %LimCheck + 5 | /mode #channel +l %AdjLim | goto end }
else goto end
:end
}
For some reason the above isn't reading how many people are in channel. Can anyone see what's wrong?