Jump to content

Need help: Intricate Script!!


 Share

Recommended Posts

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...