-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
QWavey edited this page Oct 9, 2025
·
26 revisions
ALL COMMANDS WITH "✅" ARE COMPLETED AND INTEGRATED IN THE SCRIPT. THE REST NOT.
✅ Basic Functions
| Command | Example | Description |
|---|---|---|
REM |
REM Hello World! |
Comment line |
DELAY |
DELAY 1000 |
Wait in ms |
DEFAULTDELAY |
DEFAULTDELAY 200 |
Default delay between commands |
STRING |
STRING Hello World! |
Types text |
REPEAT |
REPEAT 3 |
Repeats last command |
LOCALE |
LOCALE DE |
Switches keyboard layout |
KEYCODE |
KEYCODE 0x02 0x04 |
Sends HID keycodes |
LED |
LED 40 20 10 |
Sets RGB color |
✅ Modifier & Special Keys
| Command | Aliases | Description |
|---|---|---|
CTRL |
CONTROL |
Control key |
SHIFT |
- | Shift key |
ALT |
- | Alt key |
WINDOWS |
GUI |
Windows key |
ENTER |
- | Enter/Return |
TAB |
- | Tab |
ESC |
ESCAPE |
Escape |
DELETE |
DEL |
Delete |
UP |
UPARROW |
Up arrow |
DOWN |
DOWNARROW |
Down arrow |
LEFT |
LEFTARROW |
Left arrow |
RIGHT |
RIGHTARROW |
Right arrow |
CAPSLOCK |
- | Caps Lock |
NUMLOCK |
- | Num Lock |
PRINTSCREEN |
- | Print Screen |
✅ Advanced Features
| Feature | Command Example | Description |
|---|---|---|
| Conditional Execution | IF_PRESENT SSID="MyWiFi" |
Runs only if SSID found |
| Conditional Execution | IF_NOTPRESENT SSID="Guest" |
Runs if SSID not found |
| Hold Keys | HOLD SHIFT 10 |
Hold SHIFT for 10s |
| Hold Keys | HOLD_TILL_STRING |
Hold until next STRING |
| Rowed Payloads | BEGIN_ROWER … END_ROWER |
Chain .txt payloads |
| Math Ops |
VAR1=5 + VAR2=3 → VAR1+VAR2=8
|
Supports + - × ÷ |
| Variables | VAR myVar=Hello |
Define and reuse variables |
| Self-Destruct | SELFDESTRUCT password |
Erases firmware |
These variables control WiFi behavior based on the presence of a specific SSID.
| Variable | Description |
|---|---|
WIFI_OFF_WHEN_WIFI="SSID" IS_ONLINE |
Turn WiFi off when the specified SSID is online. |
WIFI_OFF_WHEN_WIFI="SSID" IS_OFFLINE |
Turn WiFi off when the specified SSID is offline. |
WIFI_ON_WHEN_WIFI="SSID" IS_ONLINE |
Turn WiFi on when the specified SSID is online. |
WIFI_ON_WHEN_WIFI="SSID" IS_OFFLINE |
Turn WiFi on when the specified SSID is offline. |
These variables control Bluetooth behavior based on the presence of a specific SSID.
| Variable | Description |
|---|---|
BLUETOOTH_OFF_WHEN_WIFI="SSID" IS_ONLINE |
Turn Bluetooth off when the specified SSID is online. |
BLUETOOTH_OFF_WHEN_WIFI="SSID" IS_OFFLINE |
Turn Bluetooth off when the specified SSID is offline. |
BLUETOOTH_ON_WHEN_WIFI="SSID" IS_ONLINE |
Turn Bluetooth on when the specified SSID is online. |
BLUETOOTH_ON_WHEN_WIFI="SSID" IS_OFFLINE |
Turn Bluetooth on when the specified SSID is offline. |
These variables can be used to trigger actions based on client connectivity status for WiFi or Bluetooth.
| Variable | Description |
|---|---|
IF_CLIENT_CONNECTED_BLUETOOTH |
Trigger action when a client connects via Bluetooth. |
IF_CLIENT_CONNECTED_WIFI |
Trigger action when a client connects via WiFi. |
IF_CLIENT_DISCONNECTED_WIFI |
Trigger action when a client disconnects from WiFi. |
IF_CLIENT_DISCONNECTED_BLUETOOTH |
Trigger action when a client disconnects from Bluetooth. |
IF_CLIENT_CONNECTED |
Trigger action when a client connects (generic). |
IF_CLIENT_DISCONNECTED |
Trigger action when a client disconnects (generic). |
IF_CLIENT_CONNECTED_DISCONNECTED |
Trigger action on any connection/disconnection event. |
IF_CLIENT_CONNECTED_DISCONNECTED_BLUETOOTH |
Trigger action on Bluetooth connection/disconnection. |
IF_CLIENT_CONNECTED_DISCONNECTED_WIFI |
Trigger action on WiFi connection/disconnection. |
| Step | Command / Code | Description / Output |
|---|---|---|
| 1 | VAR DETECT_OS = cmd /c reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find "ProductName" | clip |
Detects the Windows Product Name and copies it to the Clipboard. |
| 2 | STRING DETECT_OS |
Prints the copied OS information. |
| 3 |
IF_DETECT_OS_INCLUDES = "Windows" → STRING This is a Windows device
|
Detects and prints if it’s a Windows system. |
| 4 |
IF_DETECT_OS_INCLUDES = "Linux" → STRING This is a Linux device
|
Detects and prints if it’s a Linux system. |
| Example Output | ProductName REG_SZ Windows 10 Home |
— |