So what i wanted to do was, when i press the "m" key, it should press the "m" ingame first and then it should left click right after pressing the "m" key (M is to place a build and left mouse click confirms the build :3). Whenever i try this script on a browser or notepad, it seems to work just fine! In game however, it only registers the "m" key but not any left click after that. Also, i wanted the "m" key to be independent of all the other keys being pressed at that time. For example, any other key such as w a s d being pressed should not affect the action of "m" key (which is supposed to act as 2 other keys, m and LButton) which didnt work either. "m" doesnt work when any other key is being pressed, which makes sense since it makes the function "Key+m" instead of "m" itself. Can someone please help me in this? i'd be very thankful towards whoever helps :/
Thank you reading.
oh and i made this script (mainly, it doesn't consist of other keybinds which i made).
Code: Select all
{
$m::
SendInput {m}{LButton}
return
}