Skip to content

Instantly share code, notes, and snippets.

View Alan72104's full-sized avatar
💭
yes

Alan72104 Alan72104

💭
yes
View GitHub Profile
@Alan72104
Alan72104 / MinecraftToDiscordAnsiColors.au3
Last active February 16, 2023 01:18
Script that transforms mc colored string to a discord ansi code block
Global Const $code = ChrW(0x1B)
Enum $FNORMAL = 0, _ ; Normal
$FBOLD = 1, _ ; Bold
$FUNDERLINE = 4 ; Underline
Enum $CGRAY = 30, _ ; Gray 8
$CRED = 31, _ ; Red 4
$CGREEN = 32, _ ; Green 2
$CYELLOW = 33, _ ; Yellow e
$CBLUE = 34, _ ; Blue 1
@Alan72104
Alan72104 / NPPExec run autoit-cpp-c-c#-py
Last active January 29, 2022 16:39
NPPExec script to compile/run single autoit/cpp/c/c#/py files
npp_console disable
set USE_AUTOIT_BETA_BUILD = 1
set USE_AUTOIT_X64 = 1
set RUN_CPP_IN_NEW_WINDOW = 0
set RUN_C_IN_NEW_WINDOW = 0
set CPP_COMPILE_STD = c++17
if $(USE_AUTOIT_X64) == 1
set AUTOIT_FILENAME = AutoIt3_x64.exe
else