Blockland Forums > Modification Help
Broken Script?
<< < (2/2)
Bauklotz:

--- Code: ---$remapDivision[$remapCount]   = "Rapid Clicker";
$remapName[$remapCount]      = "Hold to use";
$remapCmd[$remapCount]      = "toggleAutoclick";
$remapCount++;
function toggleAutoclick(%value)
{
   if(%value)
   {
      autoclick();
   }
   else
   {
      cancel($Autoclick::Schedule);
   }
}

function autoclick()
{
  mousefire(1);
  schedule(33,0,mousefire,0);
  $Autoclick::Schedule = schedule(66,0,autoclick);
}


--- End code ---
Wheatley:
Thank you, Bauklotz.
It solved the problem.
Navigation
Message Index
Previous page

Go to full version