Jump to content
Sign in to follow this  
Varsity

Need help: Intricate Script!!

Recommended Posts

Varsity

AdLibRegister( "AutoMessage3", GUICtrlRead($Message3d) )
Func Message3()

    Send( Message3 )
Sleep(50000)
    EndFunc
    
AdLibRegister( "AutoMessage2", GUICtrlRead($Message2d) )
Func Message2()

    Send( Message2 )
Sleep(25000)
    EndFunc
    
AdLibRegister( "AutoMessage1", GUICtrlRead($Message1d) )
Func Message1()

    Send( Message1 )
Sleep(12500)
    EndFunc

With the above being given, how can I make a script to send each message with the delay given from an input box (Message1d), etc. All, one at a time, without associating with eachothers timers?

I tried using

Message1()
Message2()
Message3()

But that sends each message right after one another, and completely disregards the input time variable.. Any suggestions? Thanks in advance!

And I put this in both the General Support section, as well as this one; because I didn't know which section could help. So, sorry!.

Cheers.

Share this post


Link to post
Share on other sites
JoHanatCent

This is seen as a double post.

Rather go on


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.