Yo tic that was perfect, thanks alot. And Bobo even though that wasn't what I was looking for you actually just helped me on my next project. You guys rock, thanks a ton.
There was one typo in the script that was my fault actually. So i'm going to post my finished working product. Btw ppl this is a script that makes it so you can bind different hero combos in Warcraft 3.
Process, priority, , High ; Have the script set itself to high priority
#IfWinActive Warcraft III
#InstallMouseHook
#SingleInstance force
#InstallKeybdHook
#UseHook On
SetBatchLines 10ms
#HotString SP
#MaxThreads 20
CoordMode, mouse, Screen
SetKeyDelay, 10, 0, Play
SetMouseDelay, 10 , Play
Code:
mode = 1
Return
space::
If mode = 1
sendplay, {f2}x{lbutton}{f1}z{lbutton}
If mode = 2
sendplay, {f1}z{lbutton}{f2}z{lbutton}
If mode = 3
sendplay, {f2}z{lbutton}
Return
~rshift & 1::
mode = 1
Return
~rshift & 2::
mode = 2
Return
~rshift & 3::
mode = 3
Return