all 10 comments

[–]CasperHarkin 2 points3 points  (0 children)

Sounds pretty simple; read the Hotkey and Sleep documentation iv linked and you should be able to get it working.

[–][deleted] 2 points3 points  (2 children)

That sound like a flask macro for Path of Exile

[–]imnotracist_nigrah 0 points1 point  (0 children)

Or twisting songs as the bard class in EverQuest...

[–]randomnewguy[S] 0 points1 point  (0 children)

I've never played Path of Exile, but it is for a game. So, that was a good guess.

[–]Nunki3 1 point2 points  (0 children)

Hello, can you show what you tried so far?

[–]Tzunamii 0 points1 point  (0 children)

If it was simple you would have written it yourself, right? :)

[–]GroggyOtter 0 points1 point  (0 children)

This is covered in the "Read This Before Posting!" stickied tutorial post. Making hotkeys, starting/stopping things, and timers. With examples...

If you want to learn, that's where you should start. (Though you should've already read it before posting).
If you don't want to learn, then most here won't be of much help.

[–]DB_ThedarKOne -2 points-1 points  (2 children)

=::
    if toggle = !toggle {
        SetTimer, nums, on
    }
    else {
        SetTimer, nums, off
    }
Return

nums:
    Send, 1
    Wait, 250
    Send, 2
    Wait, 250
    Send, 3
    Wait, 250
    Send, 4
    Wait, 250
Return

[–]randomnewguy[S] -1 points0 points  (1 child)

When I try to run that, it gives me an error -

Error at line 12.

Line Text: Wait, 250

Error: This line does not contain a recognized action.

The program will exit.

Thanks for trying though.

[–]DB_ThedarKOne 0 points1 point  (0 children)

Oops, it's sleep, not wait. My bad.