Create own Key bindings

I tried to create my own Key bindings liek that:

from pynput.keyboard import Key, Listener
def on_press(key):

def on_release(key):
    if key == Key.esc:
            # Stop listener
            return False

# Collect events until released
with Listener(
    on_release=on_release) as listener:

But if I try to load the plugin phBot stops responding .

Is there a way to implement this?

You could use the useless Silkroad emote actions (like 7 buttons) to trigger quick stuffs from the game.


byte emoteType

@G4ndalf did u figure something out?

nop but I didnt try it anymore

i see :confused:

Is there api for it ? A friend asked

this will get triggered even if an other user is using an emote :wink:

My idea is about handling client packets, not server packets. A shortcut to trigger plugin stuffs from game.

Somebody asked something pretty similar before.