CmdUtils.CreateCommand({
  name: "isohunt",
  homepage: "http://lusky3.110mb.com/",
  author: {name: "Zero"},
  description: "A simple command that searches for a desirded torrent on ISO Hunt. (Uses HTTPS)",
  takes: {"hunt name": noun_arb_text},
  preview: function( pblock, hunt ) {
    var prev = "Searches for a torrent of ("+hunt.text+") on ISO Hunt.";
    var useri = {hunt: hunt.text};
    
    pblock.innerHTML = CmdUtils.renderTemplate( prev, useri );
  },

  execute: function (hunt)
  {
  Utils.openUrlInBrowser("https://isohunt.com/torrents/?ihq="+hunt.text+"?iht=-1&ihp=1&ihs1=2&iho1=d");
  }
});

