Jump to content
UBot Underground

Display $total table rows


Recommended Posts

Is there a way in ubot standard to display what row the bot is currently on, when going through a loop $total table rows. Like a counter at the top. So if the table has 2K rows, it would show Processing row 1562 or something like that.

 

Thanks,

 

Richard

Link to post
Share on other sites

Is there a way in ubot standard to display what row the bot is currently on, when going through a loop $total table rows. Like a counter at the top. So if the table has 2K rows, it would show Processing row 1562 or something like that.

 

Thanks,

 

Richard

 

Just set a variable to 0 to put into the UI stat monitor. Then increment that variable at the beginning of the loop.

 

 

ui stat monitor("Row", #test)

set(#test, 0, "Global")

loop($table total rows(&test)) {

increment(#test)

}

 

Just put the rest of your stuff in the loop.

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