Jump to content
UBot Underground

Manipulating A Variable... [How To]


Recommended Posts

Hello,

 

Sorry to be a pain in the $#%... but I wanted to ask a new tip/advice again...

 

how do you manipulate a variable?

 

for example:

 

$list total

> #total

 

output 101

 

 

 

basically... the variable #total gives out 101... and I only wanted it to be 100?

 

i would have used the command set total 0 to get a total of 100... but I cannot get exbrowser to click the first button if I set the variable to 0...

 

I have to set it to 1... but then again this makes the #total to 101 and not 100...

 

I hope my explanation makes sense...

 

thanks a lot in advance!

Link to post
Share on other sites

Xpath starts at 1 not 0 which may be why you're having issues with getting it to click the button. As for the 101 bit, just do 99 loops? Hard to say without seeing what you are doing.

  • Like 1
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...