Jump to content
UBot Underground

Stat Monitor Question


Recommended Posts

Hi guys,

 

How do I make stat monitor calculate my specific clicks?

Like if i make a script that clicks on links with a text "Post" and it would calculate all those clicks.

I hope that makes any sense lol  :blink:

Link to post
Share on other sites

You need to use a variable to store number of clicks (incrementing the variable every time click is executed). Then you just need to assign that variable to "stat monitor".

 

Actually, here is a quick example:

ui stat monitor("COUNTER", #COUNTER)
set(#COUNTER, 0, "Global")
loop(5) {
    increment(#COUNTER)
    wait(1)
}
Link to post
Share on other sites

I've played with stat monitor before but I don't how to assign a variable to clicks with different offsets and then calculate them

here's an example..

 

 loop(30) {
        click($element offset(<class="btn btn-default btn-xs Post">, 1), "Left Click", "No")
        wait($rand(20, 30))
        click($element offset(<class="btn btn-default btn-xs Post">, 2), "Left Click", "No")
        wait($rand(20, 30))
        click($element offset(<class="btn btn-default btn-xs Post">, 3), "Left Click", "No")
        wait($rand(20, 30))
        click($element offset(<class="btn btn-default btn-xs Post">, 4), "Left Click", "No")
        wait($rand(20, 30))
        click($element offset(<class="btn btn-default btn-xs Post">, 5), "Left Click", "No")
        wait($rand(20, 30))
        click($element offset(<class="btn btn-default btn-xs Post">, 6), "Left Click", "No")
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...