Jump to content
Spy_agent

Program for quik reporting

Recommended Posts

Posted (edited)

Суть в чем: создать стороннюю программу или мод или скрипт, что нибудь для быстрого реагирования на нарушение правил.

Идея такая: на клавишу назначить ввод команд в консоль, по принципу трейнеров, но не инжектить т.к. это нарушение правил.

Думал на питоне, но не силен в программировании, помогайте...

by Google Translate

The bottom line is: create a third-party program or mod or script, something to quickly respond to a violation of the rules.

The idea is this: assign a command input to the console on the key, according to the principle of trainers, but do not inject because this is a violation of the rules.

I thought in python, but not good at programming, help ...

 

 

import keyboard

while True:

    try: if keyboard.is_pressed('delete')

        #must be opened console Y 

        print('report')

        print ('/time')

        print ('/pinfo',id)

    else: pass except: break

 

or🤨

 

import keyboard

from pynput.keyboard import Key, Controller

from pynput.keyboard import Key, Listener

    def on_press(delete): keyboard = Controller()

    keyboard.press('y')

    keyboard.release('y')

    print('report')

    print ('/time')

    print ('/pinfo', id)

 

for visual text of the program и для русскоязычных https://ru.stackoverflow.com/questions/1032750/как-создать-микропрограмму-ввода-данных

Edited by Spy_agent
addition

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...