Splitting a list item into 2 variables.....help!
#1
Posted 06 January 2010 - 03:13 PM
I am trying to log into 2 or 3 different email accounts to check if there are messages in there so I have accounts in a text file listed as:
username@domain1.com:password1
anothername@domain2.co.uk:password2
etc
How can I loop round, grab the next list item and then split the email address into 1 variable and the password into another.
Had a look and play but can't see anything obvious - I know its next list item to grab the email / password combo but how do I split them to use in different nodes?
Thanks
http://ubotplugins.com and http://ubotplugins.net for sale - make an offer ![]()
#3
Posted 06 January 2010 - 03:39 PM
http://ubotplugins.com and http://ubotplugins.net for sale - make an offer ![]()
#4
Posted 06 January 2010 - 11:08 PM
Aaron, thanks for that - think I will have to wait for the video....still can't seem to figure it out!!
Hey i have a bit of a similar qt. If I have a list which is fuilled with data like
friend
amigo
user
<span class='hello'>acai
berry
is it posible for me to edit this list so as to use the $replace command to delete the entire row where class='hello'? the addtolist just would append stuff to the bottom of the above list. Is there anyway to modify this list?
#5
Posted 07 January 2010 - 09:30 AM
Validated list items add to another 'clean' list you can use.
Try to create clean list out of validated list items as soon as possible.
#7
Posted 07 January 2010 - 10:42 AM
Add to List (List Name=%List of All Accounts/Passwords) > List from File > (File to Open=File Containing emails and Passwords)
Set Variable (Variable Name=#Individual Account/Password) > Next List Item (List=%List of All Accounts/Passwords)
Add to List (List Name=%Individual Account/Password) > List from Text > Text=(Variable Name #Individual Account/Password) > Delimiter=:
Now, all you do is fill the "email" field like this:
Change Chosen Attribute (attribute=email field) > List Item 0 (list=%Individual Account/Password)
Change Chose Attribute (attribute=email password field) > List Item 1 (list=%Individual Account/Password)
#8
Posted 07 January 2010 - 10:52 AM
MasterList.txt contains:
example1@yahoo.com:password1
example2@hotmail.com:password2
Now This:
Add to List (List Name=%List of All Accounts/Passwords) > List from File > (File to Open=MasterList.txt)
Does This:
%List of All Accounts/Passwords would now equal:
example1@yahoo.com:password1
example2@hotmail.com:password2
Now This:
Set Variable (Variable Name=#Individual Account/Password) > Next List Item (List=%List of All Accounts/Passwords)
Does This:
Variable - #Individual Account/Password now would equal the first item in the list (example1@yahoo.com:password1)
Now This:
Add to List (List Name=%Individual Account/Password) > List from Text > Text=(Variable Name #Individual Account/Password) > Delimiter=:
Does This:
It uses the text from the variable (#Individual Account/Password) which equals = example1@yahoo.com:password1
and turns it into it's own list (%individual account/password) which equals:
example1@yahoo.com (position 0)
password1 (position 1)
Lastly, This:
Change Chosen Attribute (attribute=email field) > List Item 0 (list=%Individual Account/Password)
Does This:
Uses List Item 0, from list (%Individual Account/Password) which equals example1@yahoo.com and fills in the email field.
Change Chose Attribute (attribute=email password field) > List Item 1 (list=%Individual Account/Password)
and List Item 1, from list (%Individual Account/Password) which equals password1 and fills in the password field.
#9
Posted 07 January 2010 - 10:56 AM
I will go have a play in a bit to see if I can get that all sorted!
http://ubotplugins.com and http://ubotplugins.net for sale - make an offer ![]()
#10
Posted 07 January 2010 - 10:56 AM
If you'd like a working example (actual uBot source code), let me know. I'll throw it together for you and post it.
#11
Posted 07 January 2010 - 11:06 AM
It is going to go to AOL.com and "create an account"
It is just going to fill in the "first name" field with the first email in the list and it will fill in the last name with corresponding password to the first email in the list.
I just set it up that way to show you a full example and so that you could see the password that is entered (to be sure it is the corresponding one)
Attached Files
#12
Posted 07 January 2010 - 11:21 AM
#13
Posted 07 January 2010 - 11:28 AM
Alright, sorry about that, I screwed up the first example. Now you're good to go.
You star - thanks very much.
Its so much easier if I can see it in front of me - again, thanks a lot!
http://ubotplugins.com and http://ubotplugins.net for sale - make an offer ![]()
#14
Posted 07 January 2010 - 11:38 AM
You star - thanks very much.
Its so much easier if I can see it in front of me - again, thanks a lot!
No problem at all
If you need anything else, let me know.
#15
Posted 08 January 2010 - 01:14 AM
I am now sort of understanding things in ubot!
Again - cheers!!
http://ubotplugins.com and http://ubotplugins.net for sale - make an offer ![]()
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












