hi
i have a script from sladekraven that when my bot is oper
then some friends of mine who they are in command list with the text command ( !ban ) banned someone if they want it through the bot .
Now ..is it possible with the same way anyone who is in command list to give order (when the bot is not an oper but it is in the channel) to become the bot an oper? (like op through chanserv) example : !opbot
this is the script for the ban command for example:
Code:
 
menu nicklist { 
  Commands List  
  .Add: {  
    if ($read(commands.lst,w,$address($$1,8))) {    
      echo 2 -a *** $$1 ( $+ $address($$1,8) $+ ) is already in commands list.  
    }  
    else {    
      echo 2 -a *** Added $$1 ( $+ $address($$1,8) $+ ) to commands list.    
      .write commands.lst $address($$1,8) 
    } 
  } 
  .Del: {  
    if (!$read(commands.lst,w,$address($$1,8))) {     
      echo 2 -a *** $$1 ( $+ $address($$1,8) $+ )  isn't in commands list.  
    }  
    else {     
      echo 2 -a *** Removed $$1 ( $+ $address($$1,8) $+ ) commands list.  
      write -dw $+("*,$address($$1,8),*") commands.lst 
    } 
  }
}
on @*:Text:!ban *:#: {
  if ($read(commands.lst,w,$address($nick,8))) {   
    if ($2 ison $chan) && ($2 !isop $chan) && ($2 != $me) { ban -k $chan $2 3 $3- } 
  }
}
 


thanks