Jump to content
Sign in to follow this  
FireLord

Creating a Buddy List

Recommended Posts

FireLord

Hi, I'm creating a Buddy List and I start with an INI file that has let's say five names in it each separated by a comma (the delimiter). How can I make my program type all the words in the INI but stop on each comma and wait a few seconds, then send the next name in the list until all are sent.


[center]See the Helpfile[/center]
While Alive()
	 DrinkWine();
}
[center][/center]

Share this post


Link to post
Share on other sites
Valuater

As an example

$read = IniRead() ; ini read

$Split = StringSplit($read, ",") ; split by commas


For $x = 1 To $Split[0]
    MsgBox(0x0, "Split #" & $x, $Split[$x], 1) ; display info
    Sleep(5000) ; wait 5 seconds
Next

8)

Edited by Valuater

NEWHeader1.png

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.