Jump to content
UBot Underground

Steve

Fellow UBotter
  • Content Count

    256
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Steve

  1. Been playing around with GUI Hero today and so far I really like it... I did notice a few bugs, for example when I use radio buttons in ubot 4, it doesn't switch between the 2 radio options, it just keeps reverting back to the original. It works normal in Ubot 5.

     

    Also, is there a way to delete unused variables that the code produces when we delete elements from the GUI? I've noticed after building my gui, it has a bunch of variables that I created and deleted.

     

    I'm also getting random things like the following, and not sure where they came from or how I would delete them...

    <div id=\"textbox10\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 18px; top: 36px; \">
    <form>
    <input class=\"textbox1\" id=\"o10AvO\" variable=\"#log label\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"Label (optional)\" style=\" width: px; height:px;\"> <label></label><!--16-->
    </form>
    </div>
    <div id=\"textbox11\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 18px; top: 93px; \">
    <form>
    <input class=\"textbox1\" id=\"37kQGP\" variable=\"#log width\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"Width\" style=\" width: px; height:px;\"> <label></label><!--18-->
    </form>
    </div>
    <div id=\"textbox12\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 18px; top: 151px; \">
    <form>
    <input class=\"textbox1\" id=\"3XmaKZ\" variable=\"#log height\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"Height\" style=\" width: px; height:px;\"> <label></label><!--19-->
    </form>
    </div>
    <div id=\"customcode3\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 276px; top: 22px; \">
    <form>
    Log: Click to add<!--20-->
    </form>
    </div>
    <div id=\"blocktext1\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 277px; top: 57px; \">
    <form>
    <textarea class=\"blocktext0\" id=\"4t6dmM\" variable=\"#\" fillwith=\"value\" placeholder=\"\" onclick=\"ubot.runScript(\'add log(0)\')\" style=\"cursor:pointer;resize: none; width: px; height: px; \"></textarea> <label></label><!--21-->
    </form>
    </div>
    <div id=\"blocktext2\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 278px; top: 169px; \">
    <form>
    <textarea class=\"blocktext1\" id=\"EinS2B\" variable=\"#\" fillwith=\"value\" placeholder=\"\" onclick=\"ubot.runScript(\'add log(1)\')\" style=\"cursor:pointer;resize: none; width: px; height: px; \"></textarea> <label></label><!--22-->
    </form>
    </div>
    <div id=\"blocktext3\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 278px; top: 281px; \">
    <form>
    <textarea class=\"blocktext2\" id=\"T3SmBt\" variable=\"#\" fillwith=\"value\" placeholder=\"\" onclick=\"ubot.runScript(\'add log(2)\')\" style=\"cursor:pointer;resize: none; width: px; height: px; \"></textarea> <label></label><!--23-->
    </form>
    </div>
    <div id=\"colorbutton4\" style=\"margin-left: 1px; width: auto; height: 2px; position: absolute; left: 475px; top: 9px; \">
    <form>
    <button class=\"button12\" id=\"rQMB8S\" style=\"color:#eee;padding:4px;height: px; width: px; font-family: ;
    font-size: ;\" onclick=\"ubot.runScript(\'remove signer()\')\">Cancel</button><!--25-->
    </form>
    </div>
    <div id=\"textbox13\" style=\"margin-left: 1px; width: auto; height: auto; position: absolute; left: 18px; top: 209px; \">
    <form>
    Use field below ONLY<br>if adding custom css<br><input class=\"textboxred\" id=\"3XmaKZ\" variable=\"#log class\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"Class(for custom css ONLY)\" style=\" width: px; height:px;\"> <label></label><!--19-->
    </form>
    </div>
    </div>
    </div> 

    I don't see those input boxes on my GUI anywhere.

     

    Another thing I noticed is when i add custom javascript to my GUI, and then I go back in and edit them... every time I go in and edit it, it duplicates the code... for example

    <script>
    $(\".button012\").click(function()\{
    $(\".button012\").hide();
    \});
    $(\".button013\").click(function()\{
    $(\".button012\").show();
    \});
    </script>
    <script>
    $(\".button013\").hide();
    $(\".button013\").show();
    $(\".button012\").click(function()\{
    $(\".button012\").hide();
    $(\".button013\").show();
    \});
    $(\".button013\").click(function()\{
    $(\".button013\").hide();
    $(\".button012\").show();
    \});
    </script>
    <script>
    $(\"#addimager791169\").hide();
    $(\".button013\").hide();
    $(\".button013\").show();
    $(\".button012\").click(function()\{
    $(\".button012\").hide();
    $(\".button013\").show();
    $(\"#addimager791169\").show();
    \});
    $(\".button013\").click(function()\{
    $(\"#addimager791169\").hide();
    $(\".button013\").hide();
    $(\".button012\").show();
    \});
    </script>/* custom script end */
    

    Any idea whats going on?

     

    Thanks Darryl 

  2. for your example, try setting #testvar = $true...

     

    or use the comparison to check if #testvar = 1

    set(#testvar, 1, "Global")
    if($comparison(#testvar, "=", 1)) {
        then {
            alert("Has Value")
        }
        else {
            alert("Does Not Have Value")
        }
    }
    
    
×
×
  • Create New...