Pussies Posted April 9, 2010 Posted April 9, 2010 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_oHere's an example of the list it will be calling names from:username1 username2 username3Then, 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 EndFuncWhat 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?
JohnOne Posted April 9, 2010 Posted April 9, 2010 Make at least an attempt. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Pussies Posted April 9, 2010 Author Posted April 9, 2010 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.
Developers Jos Posted April 9, 2010 Developers Posted April 9, 2010 talking about usernames... you are creative with your names. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
JohnOne Posted April 9, 2010 Posted April 9, 2010 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.
Pussies Posted April 9, 2010 Author Posted April 9, 2010 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. :)
Developers Jos Posted April 9, 2010 Developers Posted April 9, 2010 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 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
ssubirias3 Posted April 9, 2010 Posted April 9, 2010 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 loopCheers!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now