| View previous topic :: View next topic |
| Author |
Message |
pzyro Guest
|
Posted: Wed Jun 10, 2009 5:56 pm Post subject: hold 1 key = holding multiple keys |
|
|
im trying to make a script where when I hold down right its like im holding down right and s untill I release it.
eg.
right pressed down=right pressed down + "S" pressed down
right released=right released + "S" released
ive been trying to wright this script for hours but it just not working  |
|
| Back to top |
|
 |
d-man
Joined: 08 Jun 2006 Posts: 285
|
Posted: Wed Jun 10, 2009 6:47 pm Post subject: |
|
|
Maybe something like this could work for you:
| Code: | right::
loop
{
send, {right}s
sleep 10
if (stop=1)
{
stop=0
break
}
}
return
right up::
stop=1
return |
|
|
| Back to top |
|
 |
pzyro Guest
|
Posted: Thu Jun 11, 2009 6:46 am Post subject: |
|
|
| doesnt work :S |
|
| Back to top |
|
 |
d-man
Joined: 08 Jun 2006 Posts: 285
|
Posted: Thu Jun 11, 2009 8:31 am Post subject: |
|
|
| works for me... you could try increasing the sleep time |
|
| Back to top |
|
 |
pzyro Guest
|
Posted: Thu Jun 11, 2009 10:03 am Post subject: |
|
|
| doesnt matter ive got it working now |
|
| Back to top |
|
 |
|