Poll

What would you rate on a X/11 scale?

0/11
13 (16%)
1/11
0 (0%)
2/11
1 (1.2%)
3/11
0 (0%)
4/11
1 (1.2%)
5/11
0 (0%)
6/11
3 (3.7%)
7/11
2 (2.5%)
8/11
2 (2.5%)
9/11
49 (60.5%)
10/11
3 (3.7%)
11/11
7 (8.6%)

Total Members Voted: 81

Author Topic: Undo GUI [My Second Add-On]  (Read 11533 times)

Have you ever ran into the problem of needing to undo a bunch of stuff, but don't want to spam Ctrl+Z? NOW YOU DON'T HAVE TO!
With your new Undo GUI made by Obamacare Me, you can now undo in large chunks!
All you have to do is drop kick a kitten input the number of times you want to undo, and then click "Undo"!

Just incase you click a wrong button, or input a wrong number, you have to confirm it.

When you are to confirm it, you also get a confirmation in chat displaying how many things you undid!

Quotes about the Add-On:


Credits:
DragonoidSlayer - Making The Add-On
Honor - Teaching me everything I know today about scripting, and helping me a lot with this Add-On.
Akio - Provide a fix up for the Add-On. (http://forum.blockland.us/index.php?topic=283293.msg8501185#msg8501185)
Electrk - Small grammatical error on the Add-On.

If you want, rate on a X/11 scale.
« Last Edit: July 31, 2015, 01:24:59 PM by Dragonoid.Slayer »

useful for those moments when you regret doing it 69 (times)

Overall looks pretty nice, besides the poor grammar in the OP, it's nice.

I noticed that you made it so it wont automatically execute twice, however you didn't make it so the keybind can't be added twice.
If the add-on is executed after the first time( i.e. exec("filepath");) it'll duplicate the keybind in your keybinds menu.

I would do this:
Code: [Select]
if(!$UndoGUI::Keybind)
{
    $remapDivision[$remapCount] = "Undo GUI";
    $remapName[$remapCount] = "Toggle GUI";
    $remapCmd[$remapCount] = "ToggleUndoGUI";
    $remapCount++;
    $UndoGUI::Keybind = true;
}

Overall looks pretty nice, besides the poor grammar in the OP, it's nice.

I noticed that you made it so it wont automatically execute twice, however you didn't make it so the keybind can't be added twice.
If the add-on is executed after the first time( i.e. exec("filepath");) it'll duplicate the keybind in your keybinds menu.

I would do this:
Code: [Select]
if(!$UndoGUI::Keybind)
{
    $remapDivision[$remapCount] = "Undo GUI";
    $remapName[$remapCount] = "Toggle GUI";
    $remapCmd[$remapCount] = "ToggleUndoGUI";
    $remapCount++;
    $UndoGUI::Keybind = true;
}
EDIT: I read this post wrong. Thank you a lot!
« Last Edit: July 30, 2015, 11:09:17 PM by Dragonoid.Slayer »



>you have undid
keksimus maximus

Awesome i rate this 69/10

Lol, I find it funny how two users literally voted 2/11.

Yet again, another useful add-on. 11/11



Most people voted 9/11 just because of the twin towers -_-


i find it's easier to just macro undoing something like 10 times, and using the macro 10 times, to undo 100 bricks


This one still work?
That's a server sided thing. I think that GMO meant an addon like mine... but redo.