Untested, but try this..

Code:
menu nicklist { 
  Commands List  
  .Add: {  
    if ($read(commands.lst,w,$$1)) {    
      echo 2 -a *** $$1 is already in commands list.  
    }  
    else {    
      echo 2 -a *** Added $$1 to commands list.    
      .write commands.lst $$1 
    } 
  } 
  .Del: {  
    if (!$read(commands.lst,w,$$1)) {     
      echo 2 -a *** $$1 isn't in commands list.  
    }  
    else {     
      echo 2 -a *** Removed $$1 from commands list.  
      write -dw $+("*,$$1,*") commands.lst 
    } 
  }
}

on @*:Text:*:#: {
  if ($read(commands.lst,w,$nick)) {
    if ($1 == !ban) { 
      if ($2 ison $chan) && ($2 !isop $chan) && ($2 != $me) { 
        ban -k $chan $2 3 $3- 
      } 
    }
    if ($1 == !opbot) { 
      ChanServ OP $chan $me 
    }
    ;More commands here
  }
}


-Andy