Blockland Forums > Suggestions & Requests

Uber-Undo

Pages: (1/1)

Navaro:

A bind of when you just hold down a key and it undoes the bricks so you wont have to break your hand pressing your undo button one thousand times very fast.


phflack:

use a macro

press macro toggle recording
ctrl z 10 times or so
press macro toggle recording
then spam the macro playback

Zeblote:

So you just want it to spam the undo? That's easy
Hold down Ctrl Z for more than 1.5 seconds and it will undo those bricks like a man

http://file.zeblote.com/?f=Client_FastUndo.zip

Port:

function undoBrick( %bool, %loop )
{
     if ( !%bool )
     {
          cancel( $undoBrickSchedule );
          return;
     }

     commandToServer( 'UndoBrick' );
     $undoBrickSchedule = schedule( %loop ? 50 : 1000, 0, "undoBrick", true, true );
}

Zeblote:


--- Quote from: Port on June 09, 2013, 07:21:52 AM ---function undoBrick( %bool, %loop )
{
     if ( !%bool )
     {
          cancel( $undoBrickSchedule );
          return;
     }

     commandToServer( 'UndoBrick' );
     $undoBrickSchedule = schedule( %loop ? 50 : 1000, 0, "undoBrick", true, true );
}

--- End quote ---
That works too

Pages: (1/1)

Go to full version