Jump to content
Korean Random

Динамические макросы в Python

Recommended Posts

Дополнение: isColorBlind

Данная модификация добавляет py_macro:

  • {{py:isColorBlind}} - возвращает 'cb', если в настройках клиента включена опция "Режим цветовой слепоты", иначе возвращает пусто..
  • PY(ON_COLOR_CHANGED) - событие срабатывает при вкл/откл опции в клиенте.


  1. Установить XVM
  2. Поместить скрипт в папку:


Edited by night_dragon_on
  • Upvote 4

Share this post

Link to post

Short link
Share on other sites
4/8/2020 at 6:11 PM, night_dragon_on said:

Addition: isColorBlind 

This modification adds py_macro:

  • {{py: isColorBlind}}  - returns  'cb' if the option “Color blindness mode” is enabled in the client's settings , otherwise it returns empty. .
  • PY (ON_COLOR_CHANGED) - the event is triggered when the option is turned on / off in the client.


  1. Install XVM
  2. Put the script in the folder:



@ night_dragon_on

here is a suggestion.  read directly from the settings. 

work also in lobby



Edited by Budyx69
  • Upvote 1

Share this post

Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...