ok.. First you haver to asign the F buttons..:

Code:
  
alias F10 { %f10 | unset %f10 } 
alias F11 { %f11 | unset %f11 } 


Then put this i n your code:

Code:
  
set %f10 /notice $wildsite <your msg here>
set %f11 /ban -k $chan $wildsite 2 <your msg here>