Nimpt Posted December 9, 2006 Share Posted December 9, 2006 Hello to all: I've been searching in the forums for some time but i cant find a way to solve this,basicly what I need is: A script to use in Worlds of Warcraft that when I press the "K" key for example it presses the key's "1,2,3,4,5" but with intervals of half a second between them,something like this: I hit "K" Script clicks "1" 0.5sec Script clicks "2" 0.5sec .... Script clicks "5" and then all the process is repeated when i press the "K" again Thnx for all the help Since I cant do a macro in game to cast a buff in diferent players of the party im gonna make 5 macros each macro for each player of the party and then keybinding them to 1,2,3,4,5 so when I hit "K" the all 5 macros will work separated for 0.5sec each. Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 9, 2006 Share Posted December 9, 2006 Hi, it s all in the helpfile: HotKeySet("k", "start") HotKeySet("q", "_end") Opt("SendKeyDelay", 500) While 1 Sleep(1000) WEnd Func start() Send("1" & "2" & "3" & "4" & "5") EndFunc ;==>start Func _end() Exit(0) EndFunc ;==>start So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
James Posted December 9, 2006 Share Posted December 9, 2006 (edited) HotKeySet("k", "Wow") HotKeySet("q", "Quit") Opt("SendKeyDelay", 500) While 1 Sleep(1000) WEnd Func Wow() Send("1" & "2" & "3" & "4" & "5") EndFunc Func Quit() Exit(0) EndFunc Oh Mega, looks like you beat me. Edited December 9, 2006 by Secure_ICT Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Nimpt Posted December 9, 2006 Author Share Posted December 9, 2006 Thnx ppl the script still finishes when the cicle 1,2,3,4,5 finishes right?And bisedes taht it finishes if I press "Q" at any time right? Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 9, 2006 Share Posted December 9, 2006 (edited) Hi, yeah, but nearly the same script. P.S. you are right! So long, Mega Edited December 9, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
James Posted December 9, 2006 Share Posted December 9, 2006 He mega, its nearly the same, because I only know how to make it do such a thing like that. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Nimpt Posted December 9, 2006 Author Share Posted December 9, 2006 (edited) Sorry to bother again,if i want to press the F1-F5 keys instead I need to change something in the code? Got it just need to {F1} till{F5} thnx Edited December 9, 2006 by Nimpt Link to comment Share on other sites More sharing options...
James Posted December 9, 2006 Share Posted December 9, 2006 Well done, Nimpt. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now