Blockland Forums > Modification Help

Broken Script?

Pages: << < (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.

Pages: << < (2/2)

Go to full version