Facebook MobWars script

By Leetuser Last update Sep 9, 2008 — Installed 15,452 times.

Adding filter for hitlist bounty value

in
Subscribe to Adding filter for hitlist bounty value 2 posts, 2 voices



John Doe111 Scriptwright

Can someone help me add a line of code to the script that states not to attack someone on the hitlist unless the bounty is for over a certain amount? This is all the code from the script. Should be easy unfortunately I know nothing about scripting.

var reload=true;
Array.forEach(document.getElementsByTagName("INPUT"),function(input){if (input.value=="attack") {input.click();reload=false;}});
if (reload) document.location.reload(true);

 
FlyfisherMike User

Use the other hitlist script out there. You can set high/low limits for different options.

^^ike

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel