<search function="banyg">
  <name>YahooGroups Ban-Bot</name>
  <category>Computers<category>Email</category></category>
  <contributor>Shawn K. Hall</contributor>
  <link>http://ReliableAnswers.com/yg/ban/</link>
  <email>Shawn[@]ReliableAnswers.com</email>
  <description>
    Ban email addresses from your YahooGroups
    <div class="helpboxDescLabels">Switches:</div>
    <table class="helpboxDescTable">
      <tr><td>email address</td><td> [default] </td><td>email address(es) to ban </td></tr>
      <tr><td> /ban </td><td> [default] or <em>strYahooBanRem</em> </td><td> Ban the addresses requested </td></tr>
      <tr><td> /remove </td><td> - </td><td> Remove the addresses requested </td></tr>
      <tr><td> /y, /id </td><td> <em>strYahooID</em> </td><td> YahooID </td></tr>
      <tr><td> /pwd </td><td> <em>strYahooPwd</em> </td><td> Yahoo Password </td></tr>
      <tr><td> /lists, /groups </td><td> <em>strYahooGroups</em> </td><td> YahooGroups to ban/remove addresses from </td></tr>
    </table>
    <div class="helpboxDescLabels">Examples:</div>
    <table class="helpboxDescTable">
      <tr><td> banyg scumbag@example.com </td></tr>
      <tr><td> banyg scumbag@example.com /ban </td></tr>
      <tr><td> banyg scumbag@example.com /g dqsd /y myId /p password </td></tr>
      <tr><td> banyg scumbag@example.com /ban </td></tr>
      <tr><td> banyg /rem </td></tr>
      <tr><td> banyg scumbag@example.com /rem </td></tr>
      <tr><td> banyg scumbag@example.com theotherscumbag@example.com </td></tr>
    </table>
  </description>
  <comment>
    This is pretty spiffy, eh?
  </comment>

  <form name="banygf" 
        method="post" 
        action="http://reliableanswers.com/yg/ban/default.aspx">
    <input type="hidden" name="login" value="" />
    <input type="hidden" name="passwd" value="" />
    <input type="hidden" name="banrem" value="ban" />
    <input type="hidden" name="txtEmails" value="" />
    <input type="hidden" name="txtLists" value="" />
  </form>

  <script><![CDATA[
  function banyg(q){
	if( nullArgs( "banyg", q ) ) return false;
	var banygYahooID = "";	 if (typeof strYahooID != "undefined")	banygYahooID = strYahooID;
	var banygYahooPwd= "";	 if (typeof strYahooPwd != "undefined")	banygYahooPwd = strYahooPwd;
	var banygYahooGroups= ""; if (typeof strYahooGroups != "undefined")	banygYahooGroups = strYahooGroups;
	var banygYahooBanRem= "ban";if (typeof strYahooBanRem != "undefined")	banygYahooBanRem = strYahooBanRem;

	var banygYahooEmails = q;
	var args = parseArgs(q, "y, id, pwd, groups, lists, remove, ban, emails");
	for (var i = 0; i < args.switches.length; i++){
	 sw = args.switches[i];
	 switch(sw.name){
	  case "y": case "id": banygYahooID = sw.value; break;
	  case "pwd": banygYahooPwd = sw.value; break;
	  case "groups": case "lists": banygYahooGroups += " " + sw.value; break;
	  case "remove": banygYahooBanRem = "rem"; break;
	  case "ban": banygYahooBanRem = "ban"; break;
	  case "emails":
	  default: banygYahooEmails += " " + sw.value; break;
	 }
	}
	document.banygf.login.value     = banygYahooID;
	document.banygf.passwd.value    = banygYahooPwd;
	document.banygf.txtLists.value  = banygYahooGroups;
	document.banygf.banrem.value    = banygYahooBanRem;
	document.banygf.txtEmails.value = banygYahooEmails;
	submitForm(banygf);
  }
  ]]></script>
  <copyright>
    The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
    Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
  <created_by>
    This search file was created on 2003/08/08 by Shawn K. Hall
    This search file was last modified on 2004/11/28 by Shawn K. Hall
    Copyright (c) 2003 Shawn K. Hall; Distributed under the terms of the GNU General Public License, Version 2
  </created_by>
</search>