Jump to content
UBot Underground

Increment Table Row Issue


Recommended Posts

I'm having an issue getting a bot working the way I want.

 

I connect to mail server

 

Then create table from emails

 

From that point I want to start breaking up the table into seperate lists. So for example all the FROM email addresses are in column 0 

 

If I have 300 rows and want to scrape all column 0 data and add it to a list what's the best way to do that?

 

Tried searching around and testing for an hour but no luck. Ubot 4.

 

Thanks!

Link to post
Share on other sites

Here you go try this...

comment("Fill in the details to connect to your server...")
clear table(&emails)
connect to mail server("POP3", "", "", "", 110) {
    create table from emails(&emails)
}
clear list(%from_emails)
set(#row_count, 0, "Global")
loop($table total rows(&emails)) {
    add item to list(%from_emails, $table cell(&emails, #row_count, 0), "Delete", "Global")
    increment(#row_count)
}
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...