What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Looking for a way to read key pressed from the keyboard to execute the code

nami69

New Member
Joined
Apr 27, 2014
Messages
3
Reaction score
0
Hello
I am currently using Belphegor routine to manually move my characters and the bot does all the attack, combat routine.
Instead of bot just doing combat routine automatically when the mobs are in kill radius, I am looking for the bot to attack when I only pressed a certain key.
For example,
If I pressed A or holding down A from the keyboard
the bot does combat routine

How do write a code to read key pressed/key down from the keyboard?
How do I modify Belphegor rountine source code to accomplish my task?

Any help would be greatly appreciated.
I would be happy to donate any helpers. So if any one is interested in helping me to write a code, send me a private message.
Thanks.
 
Back
Top