Jump to content
Sign in to follow this  
Flamingwolf

delay input box?

Recommended Posts

Flamingwolf

hey, i was trying to create an imput box for buffs that waits a certain amount of seconds depeding on whats in the box before it box. so far i have this

$buffdelay = GUICtrlCreateInput("Buff Delay [1 sec == 1000]", 8, 0, 145, 21)
;rest of the script here
Sleep($buffdelay)
send("A")oÝ÷ Ù»­Ú',Û%Gµ±ç(ØÊ-®'«â­)¶¬jëh×6$buffdelay = GUICtrlCreateInput("Buff Delay [seconds]", 8, 0, 145, 21)
;rest of the script here
Sleep($buffdelay & "000")
send("A")

but i get the same result. any help would be appreciated. :)

Share this post


Link to post
Share on other sites
Helge

$buffdelay contains a controlID, not the control's value.

Sleep(GUICtrlRead($buffdelay) * 1000)

Share this post


Link to post
Share on other sites
Flamingwolf

<3 tytytytyty. roflol :)

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  

×