Matheus Reis Posted August 10, 2010 Share Posted August 10, 2010 How can I do a repeat-until structure that, when I'm pressing a button, occur a loop action, and when I not pressing this, the action don't occur no more? Link to comment Share on other sites More sharing options...
Adler Posted August 11, 2010 Share Posted August 11, 2010 if 0AB0: key_pressed <some key>then repeat wait 0 something until 8AB0: not key_pressed <some key>end or you could do: while 0AB0: key_pressed <some key> wait 0 somethingend Link to comment Share on other sites More sharing options...
Matheus Reis Posted August 11, 2010 Author Share Posted August 11, 2010 Man, thank you very much, it will be very useful for me!! :DDDD Link to comment Share on other sites More sharing options...
Matheus Reis Posted August 13, 2010 Author Share Posted August 13, 2010 And how can I put a "0AB0: key_pressed" structure to MMB? Link to comment Share on other sites More sharing options...
Deji Posted August 13, 2010 Share Posted August 13, 2010 What's MMB? Link to comment Share on other sites More sharing options...
Adler Posted August 13, 2010 Share Posted August 13, 2010 Middle Mouse Button. And I think it's 4 for 0AB0 but I haven't tested yet. Link to comment Share on other sites More sharing options...
Silent Posted August 13, 2010 Share Posted August 13, 2010 Middle Mouse Button. And I think it's 4 for 0AB0 but I haven't tested yet. Yeah, 0x4 works OK with 0AB0 Link to comment Share on other sites More sharing options...
Matheus Reis Posted August 14, 2010 Author Share Posted August 14, 2010 Thank you two, guys. 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