// ==UserScript==
// @name          SoftPedia Ban Carman
// @author        Ciuly  
// @namespace     http://www.ciuly.com
// @description   Bans any user as being the clone of Carman and posts the message in the dedicated area 
// @include       http://forum.softpedia.com/index.php?showtopic=*
// @require       http://www.ciuly.com/greasemonkey/aa_all_common.user.js
// @require       http://www.ciuly.com/greasemonkey/aa_sp_common.user.js
// @require       http://www.ciuly.com/greasemonkey/aa_sp_mod_common.user.js
// ==/UserScript==

(function(wnd){

  var ban_as = "Carman";

  function addButton(postid, uname, uid){
    return "&nbsp;<button class=\"button\" name=\"ban_"+ban_as+"\" title=\"Ban "+ban_as+"\" onclick=\"return ciuly_BanUser('"+uname+"', '"+uid+"', 'Clona "+ban_as+"')\">Ban "+ban_as+"</button>&nbsp;";
  } 

  if (wnd.ipb_md5_check){
    wnd.ciuly_on_every_post(addButton);
  }

})(window.wrappedJSObject || window);