UNPKG

mushcode-mcp-server

Version:

A specialized Model Context Protocol server for MUSHCODE development assistance. Provides AI-powered code generation, validation, optimization, and examples for MUD development.

1,645 lines (1,644 loc) 4.42 MB
{ "patterns": [ { "id": "create-object", "name": "Create Object", "description": "Creates a new object with name and description", "category": "command", "codeTemplate": "@create {{name}}={{description}}", "parameters": [ { "name": "name", "type": "string", "description": "Name of the object to create", "required": true }, { "name": "description", "type": "string", "description": "Description of the object", "required": false } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH", "TinyMUX", "MUX" ], "securityLevel": "builder", "examples": [ "@create sword=A sharp blade", "@create magic ring=A ring that glows with mystical energy" ], "relatedPatterns": [ "set-description", "set-attribute" ], "tags": [ "creation", "object", "building" ], "difficulty": "beginner", "createdAt": "2025-08-07T18:58:34.079Z", "updatedAt": "2025-08-07T18:58:34.079Z" }, { "id": "switch-function", "name": "Switch Function", "description": "Conditional branching based on expression matching", "category": "function", "codeTemplate": "switch({{expression}}, {{case1}}, {{action1}}, {{default}})", "parameters": [ { "name": "expression", "type": "string", "description": "Expression to evaluate and match", "required": true }, { "name": "case1", "type": "string", "description": "Case value to match against", "required": true }, { "name": "action1", "type": "string", "description": "Action to take if case matches", "required": true }, { "name": "default", "type": "string", "description": "Default action if no cases match", "required": false } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH", "TinyMUX", "MUX" ], "securityLevel": "public", "examples": [ "switch(%0, hello, Hi there!, goodbye, Bye!, I don't understand.)", "switch(time(), morning, Good morning!, evening, Good evening!, Hello!)" ], "relatedPatterns": [ "if-function", "case-function" ], "tags": [ "conditional", "branching", "logic" ], "difficulty": "beginner", "createdAt": "2025-08-07T18:58:34.079Z", "updatedAt": "2025-08-07T18:58:34.079Z" }, { "id": "comma-function", "name": "Comma Formatting Function", "description": "Formats numbers with comma separators for readability", "category": "function", "codeTemplate": "&FUNCTION-COMMA {{object}}=switch(1, and(or(strmatch(%0,-\\*), strmatch(%0,+\\*)), isnum(%0)), [left(%0,1)][u(me/u-comma, before(trim(abs(%0)), .))][switch(abs(%0), \\*.\\*, .[after(trim(abs(%0)), .)])], isnum(%0), [u(me/u-comma, before(trim(%0), .))][switch(%0, \\*.\\*, .[after(trim(%0), .)])], #-1 FUNCTION COMMA EXPECTS A NUMBER)", "parameters": [ { "name": "number", "type": "number", "description": "Number to format with commas", "required": true, "validation": "^-?\\d+(\\.\\d+)?$" } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH", "TinyMUX", "MUX" ], "securityLevel": "public", "examples": [ "u(comma-obj/function-comma, 1234) -> 1,234", "u(comma-obj/function-comma, -51234.56) -> -51,234.56" ], "relatedPatterns": [ "number-formatting", "display-functions" ], "tags": [ "formatting", "numbers", "display", "utility" ], "difficulty": "intermediate", "createdAt": "2025-08-07T18:58:34.079Z", "updatedAt": "2025-08-07T18:58:34.079Z" }, { "id": "room-parent", "name": "Standard Room Parent", "description": "A comprehensive room parent with formatting and display features", "category": "attribute", "codeTemplate": "@create {{name}}\n@lock/Basic {{name}}==me\n@set {{name}} = LINK_OK HALT NO_COMMAND\n&CONFORMAT {{name}}=if(%0,[ljust(Players:,30)]Objects:[setq(0,filter(IsPlayer,%0))][setq(1,filter(IsThing,%0))][iter(lnum(max(words(%q0),words(%q1))),%r[if(first(%q0),[ljust([ansi(y,name(first(%q0)))][u(Do_Flags,first(%q0))],30)][setq(0,rest(%q0))],space(30))][if(first(%q1),[u(Thing,first(%q1))][setq(1,rest(%q1))])])])\n@EXITFORMAT {{name}}=if(%0,Obvious exits:%r[iter(%0,[ansi(g,name(##))] [ansi(hg,<[first(rest(fullname(##),;),;)]>)],,%b%b%b)])", "parameters": [ { "name": "name", "type": "string", "description": "Name of the room parent object", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH", "TinyMUX", "MUX" ], "securityLevel": "builder", "examples": [ "@create Standard Room Parent", "@parent #123=Standard Room Parent" ], "relatedPatterns": [ "room-formatting", "exit-formatting" ], "tags": [ "building", "rooms", "parent", "formatting" ], "difficulty": "advanced", "createdAt": "2025-08-07T18:58:34.079Z", "updatedAt": "2025-08-07T18:58:34.079Z" }, { "id": "basic-command", "name": "Basic Command", "description": "A simple command that responds to user input", "category": "command", "codeTemplate": "&CMD.%{COMMAND_NAME} %{OBJECT}=$+%{command_name} *:@pemit %#=%{response_message}", "parameters": [ { "name": "command_name", "type": "string", "description": "Name of the command", "required": true }, { "name": "response_message", "type": "string", "description": "Message to display to user", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "public", "examples": [ "&CMD.HELLO me=$+hello *:@pemit %#=Hello, %0!" ], "relatedPatterns": [], "tags": [ "basic", "command", "user-input" ], "difficulty": "beginner", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "function-with-validation", "name": "Function with Input Validation", "description": "A function that validates input parameters before processing", "category": "function", "codeTemplate": "&FUN.%{FUNCTION_NAME} %{OBJECT}=[switch(words(%0),0,#-1 ERROR: No input provided,gt(words(%0),5),#-1 ERROR: Too many parameters,%{function_body})]", "parameters": [ { "name": "function_name", "type": "string", "description": "Name of the function", "required": true }, { "name": "function_body", "type": "string", "description": "Main function logic", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "public", "examples": [ "&FUN.ADDNUMS me=[switch(words(%0),0,#-1 ERROR: No input provided,gt(words(%0),2),#-1 ERROR: Too many parameters,add(first(%0),last(%0)))]" ], "relatedPatterns": [], "tags": [ "function", "validation", "error-handling" ], "difficulty": "intermediate", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "trigger-on-connect", "name": "Connection Trigger", "description": "A trigger that executes when a player connects", "category": "trigger", "codeTemplate": "&ACONNECT %{OBJECT}=@pemit %#=%{welcome_message};@trigger me/TR.LOG.CONNECT=%#", "parameters": [ { "name": "welcome_message", "type": "string", "description": "Message to show on connect", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "builder", "examples": [ "&ACONNECT me=@pemit %#=Welcome to the game, [name(%#)]!;@trigger me/TR.LOG.CONNECT=%#" ], "relatedPatterns": [], "tags": [ "trigger", "connect", "welcome" ], "difficulty": "intermediate", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "secure-admin-command", "name": "Secure Admin Command", "description": "An administrative command with permission checking", "category": "command", "codeTemplate": "&CMD.%{COMMAND_NAME} %{OBJECT}=$+%{command_name} *:@switch orflags(%#,Ww)=0,{@pemit %#=Permission denied.},{%{admin_action}}", "parameters": [ { "name": "command_name", "type": "string", "description": "Name of the admin command", "required": true }, { "name": "admin_action", "type": "string", "description": "Action to perform with admin privileges", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "wizard", "examples": [ "&CMD.SHUTDOWN me=$+shutdown *:@switch orflags(%#,Ww)=0,{@pemit %#=Permission denied.},{@shutdown %0}" ], "relatedPatterns": [], "tags": [ "admin", "security", "permissions" ], "difficulty": "advanced", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "data-storage-attribute", "name": "Data Storage Attribute", "description": "An attribute for storing and retrieving structured data", "category": "attribute", "codeTemplate": "&DATA.%{DATA_NAME} %{OBJECT}=%{initial_value}\n&FUN.GET_%{DATA_NAME} %{OBJECT}=[get(me/DATA.%{DATA_NAME})]\n&FUN.SET_%{DATA_NAME} %{OBJECT}=[set(me,DATA.%{DATA_NAME}:%0)]", "parameters": [ { "name": "data_name", "type": "string", "description": "Name of the data attribute", "required": true }, { "name": "initial_value", "type": "string", "description": "Initial value for the data", "required": false, "defaultValue": "" } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "builder", "examples": [ "&DATA.SCORES me=\n&FUN.GET_SCORES me=[get(me/DATA.SCORES)]\n&FUN.SET_SCORES me=[set(me,DATA.SCORES:%0)]" ], "relatedPatterns": [], "tags": [ "data", "storage", "attribute" ], "difficulty": "beginner", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "utility-string-processor", "name": "String Processing Utility", "description": "A utility function for processing and formatting strings", "category": "utility", "codeTemplate": "&FUN.%{UTILITY_NAME} %{OBJECT}=[switch(%0,,#-1 ERROR: No input,iter(%0,%{processing_logic},|,|)]", "parameters": [ { "name": "utility_name", "type": "string", "description": "Name of the utility function", "required": true }, { "name": "processing_logic", "type": "string", "description": "Logic for processing each element", "required": true } ], "serverCompatibility": [ "PennMUSH", "TinyMUSH", "RhostMUSH" ], "securityLevel": "public", "examples": [ "&FUN.CAPITALIZE me=[switch(%0,,#-1 ERROR: No input,iter(%0,capstr(##),|,|)]" ], "relatedPatterns": [], "tags": [ "utility", "string", "processing" ], "difficulty": "intermediate", "createdAt": "2024-01-01T00:00:00.000Z", "updatedAt": "2024-01-01T00:00:00.000Z" }, { "id": "help-pattern-rhostmush-help", "name": "help Pattern", "description": "help command/function pattern from RhostMUSH help", "category": "utility", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "This is the RhostMUSH online help facility for wizard commands and topics.", "parameters": [ { "name": "command/topic", "type": "string", "description": "Parameter: command/topic", "required": true } ], "tags": [ "help", "mail", "wizard" ], "relatedPatterns": [], "examples": [ "This is the RhostMUSH online help facility for wizard commands and topics.\n The information provided by this command is generally not useful for\n anyone other than wizards and game maintainers, as t..." ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.125Z", "updatedAt": "2025-08-07T18:58:34.125Z" }, { "id": "help-pattern-rhostmush-chidden", "name": "chidden Pattern", "description": "chidden command/function pattern from RhostMUSH help", "category": "utility", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "co \"Player With Spaces\" password", "parameters": [ { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true }, { "name": "password", "type": "string", "description": "Parameter: password", "required": true } ], "tags": [ "chidden", "mail", "wizard" ], "relatedPatterns": [], "examples": [ "co \"Player With Spaces\" password\nch -- Wizards and anyone with the NOWHO @power (to @hide) can use this.\nThis option will auto-hide the player when connecting.\nch \"Player With Spaces\" password\ncd -- Wizards and higher can use this to connect dark to the game.\nThis effectively connects wiz-cloaked to the game.\ncd \"Player With Spaces\" password\ncr -- Allows creation of a player from the connect screen.\nSyntax: cr player password\ncr \"Player With Spaces\" password\nreg -- If offline registration is enabled, allows the player to register\na character with a supplied email that is then used to email them\nreg \"Player With Spaces\" email@address\nSee Also: @aconnect, @adisconnect, @hide, @register" ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.088Z", "updatedAt": "2025-08-07T18:58:34.088Z" }, { "id": "help-pattern-rhostmush-topics", "name": "topics Pattern", "description": "topics command/function pattern from RhostMUSH help", "category": "attribute", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Help available on the following Topics:", "parameters": [], "tags": [ "topics", "mail", "channel", "lock", "wizard" ], "relatedPatterns": [], "examples": [ "$-COMMANDS #LAMBDA" ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.088Z", "updatedAt": "2025-08-07T18:58:34.088Z" }, { "id": "help-pattern-rhostmush-bang", "name": "BANG Pattern", "description": "BANG command/function pattern from RhostMUSH help", "category": "utility", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Topic: BANG SYNTAX", "parameters": [ { "name": "!!^0", "type": "string", "description": "Parameter: !!^0", "required": true }, { "name": "!!^mylabel", "type": "string", "description": "Parameter: !!^mylabel", "required": true } ], "tags": [ "bang", "syntax" ], "relatedPatterns": [], "examples": [ "Topic: BANG SYNTAX\n \n The following BANG notations exist:\n ! - 'not' BOOLEAN/MATH value. Example: !match(me,you) [1]\n !! - 'not not' BOOLEAN/MATH value. Example: !!match(me..." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush---commands", "name": "$-commands Pattern", "description": "$-commands command/function pattern from RhostMUSH help", "category": "utility", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Please check help on 'ARBITRARY COMMANDS'. ", "parameters": [], "tags": [ "commands" ], "relatedPatterns": [], "examples": [ "Please check help on 'ARBITRARY COMMANDS'. \n \n However, you should be aware that RhostMUSH comes default with $commands\n *NOT* working on players. Talk to your local administration to see if \n t..." ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--zone", "name": "@zone Pattern", "description": "@zone command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "1) @zone[/list] <object or zonemaster>", "parameters": [ { "name": "switch", "type": "string", "description": "Parameter: switch", "required": true }, { "name": "target", "type": "string", "description": "Parameter: target", "required": true }, { "name": "zone string", "type": "string", "description": "Parameter: zone string", "required": true }, { "name": "object or zonemaster", "type": "string", "description": "Parameter: object or zonemaster", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "zonemaster", "type": "string", "description": "Parameter: zonemaster", "required": true }, { "name": "object or zonemaster", "type": "string", "description": "Parameter: object or zonemaster", "required": true }, { "name": "zonemaster or object", "type": "string", "description": "Parameter: zonemaster or object", "required": true }, { "name": "object or zonemaster", "type": "string", "description": "Parameter: object or zonemaster", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "old zonemaster", "type": "string", "description": "Parameter: old zonemaster", "required": true }, { "name": "new zonemaster", "type": "string", "description": "Parameter: new zonemaster", "required": true } ], "tags": [ "zone", "lock" ], "relatedPatterns": [], "examples": [ "1) @zone[/list] <object or zonemaster>\n2) @zone/add <object>=<zonemaster>\n3) @zone/del <object or zonemaster>=<zonemaster or object>\n4) @zone/purge <object or zonemaster>" ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--protect", "name": "@protect Pattern", "description": "@protect command/function pattern from RhostMUSH help", "category": "command", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @protect[/<switch>] [<playername>]", "parameters": [ { "name": "switch", "type": "string", "description": "Parameter: switch", "required": true }, { "name": "playername", "type": "string", "description": "Parameter: playername", "required": true } ], "tags": [ "protect", "lock", "wizard" ], "relatedPatterns": [], "examples": [ "@protect allows you to lock in names so no one else can use them." ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.130Z", "updatedAt": "2025-08-07T18:58:34.130Z" }, { "id": "help-pattern-rhostmush--protect2", "name": "@protect2 Pattern", "description": "@protect2 command/function pattern from RhostMUSH help", "category": "command", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "(CONTINUED)", "parameters": [ { "name": "switch", "type": "string", "description": "Parameter: switch", "required": true }, { "name": "player-name", "type": "string", "description": "Parameter: player-name", "required": true } ], "tags": [ "protect2", "wizard" ], "relatedPatterns": [], "examples": [ "+------------------------------+----------------------------------+-------+\n+------------------------------+----------------------------------+-------+\n+------------------------------+----------------------------------+-------+" ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--program", "name": "@program Pattern", "description": "@program command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @program <player>=<obj/attr>[:<prefix>]", "parameters": [ { "name": "player", "type": "string", "description": "Parameter: player", "required": true }, { "name": "obj/attr", "type": "string", "description": "Parameter: obj/attr", "required": true }, { "name": "prefix", "type": "string", "description": "Parameter: prefix", "required": true } ], "tags": [ "program" ], "relatedPatterns": [], "examples": [ "@va me=$start:@prog %#=me/vb:Please enter a word:\n@vb me=@emit You entered %0!;@prog %#=me/vc:Please enter another word:\n@vc me=@emit This time, you entered %0. You're done!" ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--program2", "name": "@program2 Pattern", "description": "@program2 command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "As you can see, this command basically takes what a user types at the", "parameters": [ { "name": "obj/attr", "type": "string", "description": "Parameter: obj/attr", "required": true }, { "name": "player", "type": "string", "description": "Parameter: player", "required": true }, { "name": "prefix", "type": "string", "description": "Parameter: prefix", "required": true } ], "tags": [ "program2" ], "relatedPatterns": [], "examples": [ "@list options if shelling commands from within a program is allowed." ], "securityLevel": "god", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--program3", "name": "@program3 Pattern", "description": "@program3 command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "There are extra things you may do with @program that is not available", "parameters": [], "tags": [ "program3", "permission" ], "relatedPatterns": [], "examples": [ "There are extra things you may do with @program that is not available\n anywhere else. \n \n First, @program can be done across @reboots, @shutdowns, QUIT, LOGOUT,\n or (heaven forbid) server crashes..." ], "securityLevel": "god", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--quitprogram", "name": "@quitprogram Pattern", "description": "@quitprogram command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @quitprogram[/<switch>] <player>", "parameters": [ { "name": "switch", "type": "string", "description": "Parameter: switch", "required": true }, { "name": "player", "type": "string", "description": "Parameter: player", "required": true }, { "name": "player", "type": "string", "description": "Parameter: player", "required": true } ], "tags": [ "quitprogram" ], "relatedPatterns": [], "examples": [ "@program cleared." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.089Z", "updatedAt": "2025-08-07T18:58:34.089Z" }, { "id": "help-pattern-rhostmush--progprompt", "name": "@progprompt Pattern", "description": "@progprompt command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Redirected from 'help @progprompt'", "parameters": [], "tags": [ "progprompt" ], "relatedPatterns": [], "examples": [ "Redirected from 'help @progprompt'\n \n!!help/@progprompt..." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.141Z", "updatedAt": "2025-08-07T18:58:34.141Z" }, { "id": "help-pattern-rhostmush--fsay", "name": "@fsay Pattern", "description": "@fsay command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @fsay <object> = <message>", "parameters": [ { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "message", "type": "string", "description": "Parameter: message", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "message", "type": "string", "description": "Parameter: message", "required": true } ], "tags": [ "fsay" ], "relatedPatterns": [], "examples": [ "Command: @fsay <object> = <message>\n Forces <object> (which may be a player) to say <message>. Can only\n be executed if the enactor controls the object.\n \n See Also: say, @femit, pose..." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.090Z", "updatedAt": "2025-08-07T18:58:34.090Z" }, { "id": "help-pattern-rhostmush--selfboot", "name": "@SELFBOOT Pattern", "description": "@SELFBOOT command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @selfboot[/<switch>] [<port>]", "parameters": [ { "name": "switch", "type": "string", "description": "Parameter: switch", "required": true }, { "name": "port", "type": "string", "description": "Parameter: port", "required": true }, { "name": "port", "type": "string", "description": "Parameter: port", "required": true } ], "tags": [ "selfboot" ], "relatedPatterns": [], "examples": [ "Command: @selfboot[/<switch>] [<port>]\n \n This command will disconnect all ports except the port that you\n initiate the command from. (IE: it will disconnect your hung logins)\n \n You may specify t..." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.090Z", "updatedAt": "2025-08-07T18:58:34.090Z" }, { "id": "help-pattern-rhostmush-news", "name": "news Pattern", "description": "news command/function pattern from RhostMUSH help", "category": "utility", "difficulty": "advanced", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "There exists various help files in juncture to help to wizard commands", "parameters": [ { "name": "command", "type": "string", "description": "Parameter: command", "required": true }, { "name": "topic", "type": "string", "description": "Parameter: topic", "required": true } ], "tags": [ "news", "lock", "wizard" ], "relatedPatterns": [], "examples": [ "There exists various help files in juncture to help to wizard commands\n with the news system. The syntax works using switches like:\n news/usermem\n \n The following wizard topics exist for..." ], "securityLevel": "wizard", "createdAt": "2025-08-07T18:58:34.125Z", "updatedAt": "2025-08-07T18:58:34.125Z" }, { "id": "help-pattern-rhostmush--", "name": "& Pattern", "description": "& command/function pattern from RhostMUSH help", "category": "function", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: &<attribute> <object>[=<value>]", "parameters": [ { "name": "attribute", "type": "string", "description": "Parameter: attribute", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "tree-attribute", "type": "string", "description": "Parameter: tree-attribute", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "attribute", "type": "string", "description": "Parameter: attribute", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "attribute", "type": "string", "description": "Parameter: attribute", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "attribute", "type": "string", "description": "Parameter: attribute", "required": true }, { "name": " -_.@#$^&*~?=+| ", "type": "string", "description": "Parameter: -_.@#$^&*~?=+| ", "required": true }, { "name": "attr", "type": "string", "description": "Parameter: attr", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "attr", "type": "string", "description": "Parameter: attr", "required": true }, { "name": "object", "type": "string", "description": "Parameter: object", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true } ], "tags": [ "", "lock" ], "relatedPatterns": [], "examples": [ "&`<tree-attribute> <object>[=<value>]\n&myattr Object=This is my data on attribute 'myattr'" ], "securityLevel": "builder", "createdAt": "2025-08-07T18:58:34.091Z", "updatedAt": "2025-08-07T18:58:34.091Z" }, { "id": "help-pattern-rhostmush---", "name": "%_ Pattern", "description": "%_ command/function pattern from RhostMUSH help", "category": "attribute", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "%_<-label> -- disables debugging for last named <label>", "parameters": [ { "name": "label", "type": "string", "description": "Parameter: label", "required": true }, { "name": "label", "type": "string", "description": "Parameter: label", "required": true }, { "name": "-label", "type": "string", "description": "Parameter: -label", "required": true }, { "name": "label", "type": "string", "description": "Parameter: label", "required": true }, { "name": "-", "type": "string", "description": "Parameter: -", "required": true }, { "name": "off", "type": "string", "description": "Parameter: off", "required": true }, { "name": "!list", "type": "string", "description": "Parameter: !list", "required": true }, { "name": "!shortlist", "type": "string", "description": "Parameter: !shortlist", "required": true }, { "name": "label", "type": "string", "description": "Parameter: label", "required": true }, { "name": "-label", "type": "string", "description": "Parameter: -label", "required": true }, { "name": "label", "type": "string", "description": "Parameter: label", "required": true } ], "tags": [ "" ], "relatedPatterns": [], "examples": [ "%_<-label> -- disables debugging for last named <label>\n%_<-> -- disables debugging for last defined label\n%_<off> -- disables all debugging labels\n%_<!list> -- List current stack, in-use stack, and all labels." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.103Z", "updatedAt": "2025-08-07T18:58:34.103Z" }, { "id": "help-pattern-rhostmush--assert", "name": "@assert Pattern", "description": "@assert command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @assert <value> [=<command(s)>]", "parameters": [ { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "command(s)", "type": "string", "description": "Parameter: command(s)", "required": true }, { "name": "commands(s)", "type": "string", "description": "Parameter: commands(s)", "required": true }, { "name": "commands(s)", "type": "string", "description": "Parameter: commands(s)", "required": true } ], "tags": [ "assert" ], "relatedPatterns": [], "examples": [ "Command: @assert <value> [=<command(s)>]\n \n The @assert command is used to optionally break out of any processing of\n commands. The possible values to pass to it are zero (0) or non-zero\n (which ..." ], "securityLevel": "builder", "createdAt": "2025-08-07T18:58:34.092Z", "updatedAt": "2025-08-07T18:58:34.092Z" }, { "id": "help-pattern-rhostmush--atrcache", "name": "@atrcache Pattern", "description": "@atrcache command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @atrcache[/switch(es)] <cachename/slot> [=<target/value>]", "parameters": [ { "name": "cachename/slot", "type": "string", "description": "Parameter: cachename/slot", "required": true }, { "name": "target/value", "type": "string", "description": "Parameter: target/value", "required": true }, { "name": "cacheslot", "type": "string", "description": "Parameter: cacheslot", "required": true }, { "name": "name to use", "type": "string", "description": "Parameter: name to use", "required": true }, { "name": "cacheslot/cachename", "type": "string", "description": "Parameter: cacheslot/cachename", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "newname", "type": "string", "description": "Parameter: newname", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "new owner", "type": "string", "description": "Parameter: new owner", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "boolean", "type": "string", "description": "Parameter: boolean", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "boolean", "type": "string", "description": "Parameter: boolean", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "value", "type": "string", "description": "Parameter: value", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "cacheslot or cachename", "type": "string", "description": "Parameter: cacheslot or cachename", "required": true }, { "name": "evaluated string", "type": "string", "description": "Parameter: evaluated string", "required": true } ], "tags": [ "atrcache", "lock" ], "relatedPatterns": [], "examples": [ "@atrcache/init <cacheslot> = <name to use>\n@atrcache/delete <cacheslot/cachename>\n@atrcache/name <cacheslot or cachename> = <newname>\n@atrcache/owner <cacheslot or cachename> = <new owner>\n@atrcache/visible <cacheslot or cachename> = <boolean>\n@atrcache/lock <cacheslot or cachename> = <boolean>\n@atrcache/fetch <cacheslot or cachename>\n@atrcache/interval <cacheslot or cachename> = <value>\n@atrcache/cache <cacheslot or cachename>\n@atrcache/list [0 for all, or page value]\n@atrcache/info[/noansi] <cacheslot or cachename>\n@atrcache/set <cacheslot or cachename> = <evaluated string>\n@atrcache/noansi" ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.092Z", "updatedAt": "2025-08-07T18:58:34.092Z" }, { "id": "help-pattern-rhostmush--atrcache-init", "name": "@atrcache/init Pattern", "description": "@atrcache/init command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @atrcache/init <cache slot> = <name>", "parameters": [ { "name": "cache slot", "type": "string", "description": "Parameter: cache slot", "required": true }, { "name": "name", "type": "string", "description": "Parameter: name", "required": true } ], "tags": [ "atrcacheinit" ], "relatedPatterns": [], "examples": [ "@atrcache/init: Slot 5 [mytest] has been enabled and initialized." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.092Z", "updatedAt": "2025-08-07T18:58:34.092Z" }, { "id": "help-pattern-rhostmush--atrcache-delete", "name": "@atrcache/delete Pattern", "description": "@atrcache/delete command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @atrcache/delete <cache slot or name>", "parameters": [ { "name": "cache slot or name", "type": "string", "description": "Parameter: cache slot or name", "required": true } ], "tags": [ "atrcachedelete" ], "relatedPatterns": [], "examples": [ "@atrcache/delete: Cache slot 5 [mytest] has been de-allocated and uninit..." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.092Z", "updatedAt": "2025-08-07T18:58:34.092Z" }, { "id": "help-pattern-rhostmush--atrcache-name", "name": "@atrcache/name Pattern", "description": "@atrcache/name command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @atrcache/name <cache slot or name> = <new name>", "parameters": [ { "name": "cache slot or name", "type": "string", "description": "Parameter: cache slot or name", "required": true }, { "name": "new name", "type": "string", "description": "Parameter: new name", "required": true } ], "tags": [ "atrcachename" ], "relatedPatterns": [], "examples": [ "@atrcache/name: Slot 5 [mytest] renamed to 'mynewtest'." ], "securityLevel": "public", "createdAt": "2025-08-07T18:58:34.092Z", "updatedAt": "2025-08-07T18:58:34.092Z" }, { "id": "help-pattern-rhostmush--atrcache-owner", "name": "@atrcache/owner Pattern", "description": "@atrcache/owner command/function pattern from RhostMUSH help", "category": "command", "difficulty": "beginner", "serverCompatibility": [ "RhostMUSH" ], "codeTemplate": "Command: @atrcache/owner <cache slot or name> = <new owner>", "parameters": [ { "name": "cache slot or name", "type": "string", "description": "Parameter: cache slot or name", "required": true }, { "name": "new owner", "type": "string", "description": "Parameter: new owner", "required": true } ], "tags": [ "atrcacheowner" ],