Perhaps even ......

Code:
 
on me:op:#f,#w,#l:{  
mode $chan +b 81.101.141.64
}
 


or

Code:
 
on me:op:#f:{  
Ban64 $chan
}
on me:op:#w:{  
Ban64 $chan
}
on me:op:#l:{  
Ban64 $chan
}

alias -l Ban64 mode $1 +b 81.101.141.64
 


However, depending on what the OP actually wanted, this may also work (in which case the alternative channels need to be checked to see if the OP is also opped in the other channels.:

Code:
 
on me:op:#f,#w,#l:{  
 if ($me isop #f) Ban64 #f 
 if ($me isop #w) Ban64 #w
 if ($me isop #l) Ban64 #l 
}
 alias -l Ban64 mode $1 +b 81.101.141.64



or even ....

Code:
 
on me:op:#f,#w,#l:{  
Ban64 #f 
Ban64 #w
Ban64 #l 
}
 alias -l Ban64 if ($me isop $1) mode $1 +b 81.101.141.64



All of these options reduce the amount of editing required if the IP changes, which reduces the likelihood of errors! May not seem like much when it is altogether like this, but as a script grows, it may become more important!


*untested

Cheers,

DK

*Edited to use "me" instead of "*" in the "ON"
*edited to include an additional option

Last edited by Darwin_Koala; 29/07/06 10:47 PM.