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.