Sign in to follow this  
Followers 0
Pussies

ini or txt?

8 posts in this topic

So, I'm working on something that will help me find usernames available for a website.

You can usually search in the chats by typing :devUSERNAME: and if it's used it will have a link, if not it wont.

I'm wondering how I would be able start from the top of a list in a file and go down the list, so it will type that? o_o

Here's an example of the list it will be calling names from:

username1
username2
username3

Then, I'd like it to stop when it reaches the end of the file.

How would it do that? Here's a piece of the code for a DIFFERENT username finder, but It has similar properties.

HotKeySet("{ESC}", "Close")

$x = 1
Sleep(3000)
Do
    Send(":dev"& $x& ":")
    Send("{ENTER}")
    $x = $x + 1
Until $x = 50

Func Close()
    Exit
EndFunc

What that does is it displays number based usernames, then sends them to the chat, so I can see which are available and which aren't.

:dev1:

:dev2:

:dev3:

Etc.

I'm sorry if this is kind of confusing, I'm confused myself.

I want it to type in the usernames from a ini or txt file until it reaches the end. :\

Help?

Share this post


Link to post
Share on other sites



Make at least an attempt.

Thanks for your post.

Anyways, all I need it to do is pull usernames from a file. I know how to create the file, but I don't need one section specified.

I just need it to go down the list.

Share this post


Link to post
Share on other sites

I often wonder how many people make a new account for each topic, its seems to be loads.

Are such people not regarded as trolls here ?

So as for the code.

Make your ini.

Read it with inireadsection.

Loop through the resulting array sending your names.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

I often wonder how many people make a new account for each topic, its seems to be loads.

Are such people not regarded as trolls here ?

So as for the code.

Make your ini.

Read it with inireadsection.

Loop through the resulting array sending your names.

On the contrary, I've misplaces my password and email for my previous account.

If you're assuming I'm a troll, then you're assumption is making you look like an ass.

I'm sorry for the inconvenience of adding a new account to this forum, my apologies.

Moving on - thank you. :)

Share this post


Link to post
Share on other sites

On the contrary, I've misplaces my password and email for my previous account.

If you're assuming I'm a troll, then you're assumption is making you look like an ass.

I'm sorry for the inconvenience of adding a new account to this forum, my apologies.

Moving on - thank you. :)

So your Penisxxxx account can be locked and you are "moving on" with the pussies from now on?

Great :(


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Anyways, all I need it to do is pull usernames from a file. I know how to create the file, but I don't need one section specified.

I just need it to go down the list.

JonhOne is dead on the money. Putting forth some effort and showing what code you have, what isn't working, and where you need help is a much better method of asking for help. Here are some suggestions for you to study in the Help File. It (Help file) is usually easier to navigate than the forum that's filled with similiar questions asked thousands of times.

Lookup FileReadToArray(), FileRead(), FileReadLine(), IniRead(), etc ... and cycle through the array until then using a For..Next loop

Cheers!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0