WhiteHatBox
Share Page
Following(0)
Partner(s)
howard

Stuck in Variable

ReplyThanks 2016/04/24 09:10:58 0 0

Hello,


I wanted to have a BOT that will login to a webmail and send, i have done this in imacros via a vbscript but i moved to botchief because it has more powerful features. but right now im stuck with variables.


i have this email account list in TXT file in this format:

username:password:name

username1:password1:name1

username2:password2:name2


How can i load the TXT file into a separate variable like:

username = Variable(username)

password = variable(password)

name = Variable(Name)


and also i want to loop the script and then move to the next username in the list after sending for the count of 3 sending per username.


Thank you very much and Your help is really much appreciated.


Aprilcaicai
2016/04/24 23:02:01

Hi, bro it is very easy to use the variable from your txt file. please do like the below shows, then it will use the variables in the txt file in turn.

If you want to loop your script 3 times, and then use another account to do the same operation again, you need to add a double variable to judege the times. it the count is up to 3 times, and then let it log into the another account

Wish this is clear.



howard
2016/04/25 04:47:23

Thanks bro,

I will try this now and please show me how to split ":" in to separate variables.

Thank you.

Aprilcaicai
2016/04/25 05:36:03

Hi, the data in txt file can only be imported by column

if you want to import them like this format: username:password:name. you'd better import them from your csv file, do not add the comma":" one data for one unit

<< < 1> >>
VerifyCode
Advanced Option