Jump to content
UBot Underground

Unsure Why My $Comparison Does Not Work On Ui Check Box.


Recommended Posts



if($comparison(#usercaptcha,"=",$true)) {
    then {
        alert("You need to type in a captcha! (Press Green Arrow above to keep the bot running.")
        pause script
    }
    else {
        alert("Captcha is disabled.")
        click(<id="adcopy-puzzle-image">,"Left Click","No")
        wait(5)
        type text(<name="adcopy_response">,$solve captcha(<id="adcopy-puzzle-image">),"Standard")
        click(<value="Submit">,"Left Click","No")
    }
}




That is if statement for the UI checkbox. I checked the variable of the checkbox and it is exactly "#usercaptcha" as it should be.

Link to post
Share on other sites

Works fine for me:

 

ui check box("x",#x)
if($comparison(#x,"=",$true)) {
    then {
        alert("Checked")
    }
    else {
        alert("Unchecked")
    }
}

Link to post
Share on other sites

Works fine for me:

 

ui check box("x",#x)

if($comparison(#x,"=",$true)) {

    then {

        alert("Checked")

    }

    else {

        alert("Unchecked")

    }

}

 

Well, the person who I was creating this thing for got upset about it and said don't add it. But thanks for the help anyways.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...