pl macros

play/record/modify macros ing

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
inimur
1日のインストール数
1
累計インストール数
14
評価
0 0 0
バージョン
0.0085
作成日
2026/04/15
更新日
2026/05/06
大きさ
12.6KB
ライセンス
MIT
対象サイト
NAME
    q, regp, ... — record, play, and modify movement macros

SYNOPSIS
    q regr [WASD<SPACE>regp] ... [regr] q
    regp
    (
    )
    [
    ]
    -
    \
    / reg NU /
    ? reg NU ?
    |
    ESCAPE
    . rega regb
    , rega regb
    ; rega regb
    = reg NU =
    +
    TAB

DESCRIPTION
    The form "q regr macro-text [regr] q" records macro-text in register regr.
    The operand regr shall not be one of:
        wasdqpkzifWASDQPKZIF]-\\[.,;/=`()+|? ESCAPE or TAB

    A macro-text consists of zero or more occurrences of:
        W, A, S, D, SPACE or regp

    regp plays a previously recorded macro.

    (, ), [, ], -, and \ transform the last active macro (scale/rotate/flip).

    / reg NU / scales down reg by NU

    ? reg NU ? quantizes reg to NU+1 levels where NU consists of
        [0-9] ... ' [0-9] ... with ' denoting the decimal point

    | left-right mirrors the last active macro. 

    ESCAPE kills running macro/operation

    . rega regb copies from rega to regb

    , rega regb chains regb to rega

    ; rega regb layers regb on rega

    ` replaces each char of macro-text to SPACE of the last active macro

    = reg NU = replaces macro reg with NU times repeated reg where NU is an integer
    
    + saves macros in the current session

    TAB loads macros from a previous session saved by +

    Last active macro can be last recorded/played/modified macro, whichever the last.

    SPACE does nothing.


EXAMPLES
    qew<SPACE>q.er/r8/=r8=]/e9/=e9=;reqeeq,re defines a quarter circle recursion
    based on 8:9 polyrhythm. []-\ to navigate. Breakdown:
        - qew<SPACE>q defines a unit in e
	- .er/r8/=r8=] defines the first rhythm (d-rhythm)
	- /e9/=e9= defines w-rhythm in e
	- ;re interleaves e on r
	- qeeq,re defines the recursion in r

    qew<SPACE>q.er]/e4//r5/=e4==r5=;er.erqtwq,rte[-,ree[,ret[,rt-.rt|,rt defines a
    heart based on 4:5 polyrhythm.

    Devil Plane: e contains unquantized version while .er?r8? (an ambiguous art 
    created by ign:experiment)

    Greek Pattern: In game grid to draw the initial drawing, then ?e2? to enforce
    2:1 ratio

CAVEATS
    This tool is time-based so drawings won't be accurate due to speed variation,
    jitter, stutter, etc.

    Still beta, so very unstable. Avoid high input rates to reduce the risk of bans. 
    Refresh is your friend. 

SEE ALSO
    Powerline.io Follow Mouse Cursor "Hacks" by Heptatron