Author Topic: Uber-Undo  (Read 383 times)

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.

use a macro

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

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

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

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

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

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

That works too