Skip to content

Instantly share code, notes, and snippets.

@ZookaOnGit
ZookaOnGit / mudlet-replayLog.lua
Last active July 15, 2024 04:58
Replay the last log file when opening your profile
--- Script to reload the last log file after reopening a profile.
-- by Zooka.
-- Looks better with text-only logs (no colouring).
-- Want to see HTML logs supported?
-- Consider supporting my efforts at
-- https://buymeacoffee.com/zookaongit
registerAnonymousEventHandler("sysLoadEvent", "replayLog")
@ZookaOnGit
ZookaOnGit / Mudlet_cmd_api.xml
Created July 12, 2024 08:32
Command Line API Search for Mudlet
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.001">
<AliasPackage>
<Alias isActive="yes" isFolder="no">
<name>Command Line API</name>
<script>-- Command line API search and open tool
-- by Zooka.
-- Usage: !api string.lower -- specify a known function to open webpage
@ZookaOnGit
ZookaOnGit / random_medieval_insult.lua
Created June 8, 2024 16:36
Random Medieval Insult Generator
function insult()
local insult1 = { "artless","bawdy","beslubbering","bootless","churlish","cockered","clouted","craven","currish","dankish","dissembling","droning","errant","fawning","fobbing","froward","frothy","gleeking","goatish","gorbellied","impertinent","infectious","jarring","loggerheaded","lumpish","mammering","mangled","mewling","paunchy","pribbling","puking","puny","quailing","rank","reeky","roguish","ruttish","saucy","spleeny","spongy","surly","tottering","unmuzzled","vain","venomed","villainous","warped","wayward","weedy","yeasty" }
local insult2 = { "base-court","bat-fowling","beef-witted","beetle-headed","boil-brained","clapper-clawed","clay-brained","common-kissing","crook-pated","dismal-dreaming","dizzy-eyed","doghearted","dread-bolted","earth-vexing","elf-skinned","fat-kidneyed","fen-sucked","flap-mouthed","fly-bitten","folly-fallen","fool-born","full-gorged","guts-griping","half-faced","hasty-witted","hedge-born","hell-hated","idle-headed","ill-breeding","ill-nurtured","knotty-pated","
@ZookaOnGit
ZookaOnGit / gist:fe0b90fe4a90cb26c2c7f7b4b45022bb
Last active June 19, 2024 12:30
Simple Mapper for Mudlet
mudlet = mudlet or {}
mudlet.mapper_script = true
simpleMapper = simpleMapper or {}
simpleMapper.automerge = true
simpleMapper.autoexits = false
simpleMapper.lastRoomMove = simpleMapper.lastRoomMove or {}
simpleMapper.undoVnum = simpleMapper.undoVnum or {}
simpleMapper.aliases = simpleMapper.aliases or {}
simpleMapper.handlers = simpleMapper.handlers or {}