Jump to content
UBot Underground

Help, "{}" Disappear


Recommended Posts

Hi, 

I have a problem with my code. 

Everything is working fine but when I pass to the Code view, the "{}" of the variables disappear. 

Here's the working code: 

if($exists(<data-style-name=r"{#Color}">)) {
    then {
        click(<data-style-name=r"{#Color}">, "Left Click", "No")
    }
    else {
        if($exists(<data-style-name=r"{#Color2}">)) {
            then {
                click(<data-style-name=r"{#Color2}">, "Left Click", "No")
            }
            else {
                alert("Non dispo")
                stop script
            }
        }
    }
}

(r is used for "regular expression")

 

Then here's the code when I pass from Node View to Code View

if($exists(<data-style-name=r#Color>)) {
    then {
        click(<data-style-name=r#Color>, "Left Click", "No")
    }
    else {
        if($exists(<data-style-name=r#Color2>)) {
            then {
                click(<data-style-name=r#Color2>, "Left Click", "No")
            }
            else {
                alert("Non dispo")
                stop script
            }
        }
    }
}

It's ruining my bot...

 

Thanks in advance

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...