| Yoko http://forum.yoko.com.ua/ |
|
| How to make a script wait until... http://forum.yoko.com.ua/viewtopic.php?f=17&t=11831 |
Page 1 of 1 |
| Author: | motxu [ 2007-04-24 22:15:53 ] |
| Post subject: | How to make a script wait until... |
How can i make my script to wait until i press a key? Imagine that if i press 1 i want my script to do somehitng, but if i press 2 i want it to do other thing. Please help! thanks |
|
| Author: | motxu [ 2007-04-25 14:09:23 ] |
| Post subject: | |
hadnt undestand haha. I dont mean hoykeys.. I want a script that if u press for example "1", it makes something. If press "2" makes other thing. wait until uo.press() but dont works help? |
|
| Author: | DerMeister =) [ 2007-04-25 14:25:47 ] |
| Post subject: | |
Code: sub mn Add m1, m2, m3 , ... etc ... to hotkeys as you see below and enjoy yourself. PS: My english is bad |
|
| Author: | motxu [ 2007-04-26 13:54:43 ] |
| Post subject: | |
sorry man, ive been tring but dont understand xD. Imagine that if I press "1" i want it to say hello. If i press "2" i want it to say Good bye. Could u make this example for me plz? |
|
| Author: | Nmy [ 2007-04-26 18:19:23 ] |
| Post subject: | |
motxu wrote: sorry man, ive been tring but dont understand xD.
Imagine that if I press "1" i want it to say hello. If i press "2" i want it to say Good bye. Could u make this example for me plz? Code: Injection > Hotkeys > there is no such thing like injection could know what key do you press, it's working with the game not with the user actions you can use global variable |
|
| Author: | DerMeister =) [ 2007-04-26 19:21:18 ] |
| Post subject: | |
motxu wrote: sorry man, ive been tring but dont understand xD.
Imagine that if I press "1" i want it to say hello. If i press "2" i want it to say Good bye. Could u make this example for me plz? Code: sub main 1) Bind 1 with "m1" sub and 2 with "m2" sub (exec m1) and (exec m2) 2) Launch "main" 3) press 1 or 2 on your keyboard. |
|
| Author: | motxu [ 2007-04-27 13:33:11 ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|