Jump to content

Program for quik reporting


Spy_agent

Recommended Posts

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

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

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

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/как-создать-микропрограмму-ввода-данных

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.