Sign in to follow this  
Followers 0
Warmonger

AdlibRegister Time

3 posts in this topic

#1 ·  Posted (edited)

Alright here's what I wanna do. I wanna make AdlibRegister run a function on a specific time (12:00am or whatever). How would I go about that? And having it keep following up day in and day out. I wanna say away from the main while loop as much as possible.

Edited by Warmonger

Share this post


Link to post
Share on other sites



AdlibRegister("_MyAdlibRegisteFunc",1000*30)

Func _MyAdlibRegisteFunc()
    If @HOUR == 12 And @MIN = 00 Then
        ;Stuff
    EndIf
EndFunc

Blah... Didn't read the help file fully. Didn't realize it paused the script to execute the function. Thanks. Maybe next time ill read more before asking for support. :unsure:

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