I think the problem comes from $calc($nick(#,0)).

Firstly, you don't need $calc to check the number of users, and secondly, you're using an alias so it doesn't know what channel # is.

I have also noticed that you used the command /limitcheck #Channel, so I suggest you use a local variable to store the channel name, i.e.
Code:
alias limitcheck { 
 var %tmpchan $1
 .set %LimCheck $nick(%tmpchan,0)
goto next  
:next 
 if ($me isop %tmpchan) && ( nickofyourbots !isop %tmpchan) { 
.set %AdjLim %LimCheck + 5 
mode %tmpchan +l %AdjLim 
 goto end 
} 
 else { goto end }
:end
}
  


Edit : I saw your last post after I posted that one...

Last edited by Saturne; 29/12/02 03:08 PM.

DNWT.net Coalition of irc networks