Jump to content
UBot Underground

Recommended Posts

Having some difficulty with saving multiple account profile data.

 

saving info in a table as follows

 

define Save Bookmark Sites Account Information {

clear table(&bmsites)

set table cell(&bmsites, 0, 0, "{$account data("Username")}@hotmail.com")

set table cell(&bmsites, 0, 1, #Website)

set table cell(&bmsites, 0, 2, $account data("Username"))

set table cell(&bmsites, 0, 3, #password)

set table cell(&bmsites, 0, 4, "history to scrape add")

set table cell(&bmsites, 0, 5, "Rss Feeds To Add Submit")

set table cell(&bmsites, 0, 6, $date)

save to file("{$special folder("My Documents")}/bookmark_accounts.csv", &bmsites)

}

 

So im cycling through a bunch of sites, verifying the email, confirming then want to add to bookmark_accounts.csv which works fine for a single site BUT with each new account created it overwrites the last, this may be a stupid question but how do I get it to save to the next row? Thereby allowing it to save each site.. Should I be making a list then saving that?

Link to post
Share on other sites

I think you are really going about it the hardway to do it this way you need to add a counter and increment it with each loop

 

Or forget the table use the add item to list username,password,whatever

when you save to file save as .csv job done

Link to post
Share on other sites

I agree...create a list for each type of data and then after you are done looping, $add list to table as column, etc and save to a csv file.

 

 

John

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