- Move to Erisa org and either keep name, or rename to
@erisa/micro
. - Essentially micro for bots.
- Either single function export or programmatic instantiation.
- Programmatic returns an instance of
Erisa
- still wraps single function.
- Programmatic returns an instance of
- Function export gets called with
clarisa
or@erisa/micro
on the command line. - Ability to use command system without programmatic API
- Either export as
exports.commandSystem = true
or config file? - Sets up a folder as a directory to load commands from.
- Commands follow single function export like main.
- Either export as
; Constants | |
MOUSE_SWAP := 0x21 | |
SET_CURSORS := 0x57 | |
KEY_ORDER := ["Arrow","Help","AppStarting","Wait","Crosshair","IBeam","NWPen","No","SizeNS","SizeWE","SizeNWSE","SizeNESW","SizeAll","UpArrow","Hand"] | |
SCHEME = scheme name | |
; Generate scheme list | |
RegRead, SchemeList, HKEY_CURRENT_USER\Control Panel\Cursors\Schemes, % SCHEME, | |
SchemeList := StrSplit(SchemeList, ",") |
const ObfusRegex = /^([A-z]+)-(?![^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])/; | |
function deobfuscate() { | |
var items = document.body.getElementsByTagName('*'); | |
var classes = []; | |
for (let i of items) if (i.className != '') classes.push(i); | |
classes = classes.filter(e => !(e.className instanceof SVGAnimatedString)); | |
classes.forEach(e => e.classList.forEach(c => {if (ObfusRegex.test(c) && !e.className.includes(' ' + c.match(ObfusRegex)[0].slice(0, -1))) e.className += ' ' + c.match(ObfusRegex)[0].slice(0, -1)})); | |
import os, string, random, re, argparse, sys, shutil | |
parser = argparse.ArgumentParser(description='Generate a random directory with randomly generated files within.') | |
parser.add_argument('-v', '--version', action='version', version='%(prog)s 1.4', help='Display the version of the program.') | |
parser.add_argument('-a', '--amount', default=random.randrange(50, 200), type=int, help='Set the amount of files to generate.') | |
parser.add_argument('-r', '--remove', action='store_true', help='Remove all directories that follow the format created by this program.') | |
args = parser.parse_args() | |
amt = args.amount; |
import os, re, argparse, sys | |
from datetime import datetime | |
parser = argparse.ArgumentParser(description='Rename files to have a prefix of their created date.') | |
parser.add_argument('-v', '--version', action='version', version='%(prog)s v2.0', help='Display the version of the program.') | |
parser.add_argument('-f', '--file', default=' ', type=str, help='Choose which file to rename.') | |
parser.add_argument('-d', '--directory', default='./', type=str, help='Choose a directory to rename all files in.') | |
parser.add_argument('-i', '--ignore', default='@', type=str, help='Choose ignore files starting with a character.') | |
args = parser.parse_args() |
Hacknet.HackerScriptExecuter.runScript("HackerScripts/Script.txt", os);
// This implies that you're running this in a Pathfinder command.
// If not, you'll have to replace `os` with an instance of the players os
// somehow.
Default scripts are ThemeHack.txt
(Naix's theme deleter) and SystemHack.txt
(Striker's VMBootloaderTrap)
To use your own script, create one using the documentation below and then add it to the Content/HackerScripts
folder in your Hacknet installation path.
CoordMode, Mouse, Screen | |
=:: | |
MouseGetPos, X, Y | |
MsgBox % "X Coord: " . X . " Y Coord: " . Y | |
clipboard = [%X%,%Y%] | |
Return |
const Eris = require('eris'); | |
const bot = new Eris("TOKEN"); | |
const detideReplace = { | |
'(': ')', | |
')': '(', | |
'{': '}', | |
'}': '{', | |
'[': ']', | |
']': '[', |
-
Install Python BeautifulDiscord is created in the Python programming language, and as such you must install it. Open https://www.python.org in your preferred web browser and download the latest version. Install Python and at the end therre should be an option that says something along the lines of
Add to PATH
. If you don't check this, it'll make a future step slightly harder. -
Install BeautifulDiscord Open a command prompt/terminal, and enter
python -m pip install -U https://github.com/leovoel/BeautifulDiscord/archive/master.zip
, this will download and install BeautifulDiscord so that you can use it. If you did not add Python to PATH, navigate to the directory of where Python is installed and run the command. If you get an error while installing that says something along the lines ofMicrosoft Visual C++ 14.0 is required
, follow these steps. A. If you do not have Visual Studio 2015 installed, go to and download the Visual C++ Build Too