From d6eb4ff1665863c493679352fcd36bc9bec48d96 Mon Sep 17 00:00:00 2001 From: Samual Date: Sat, 21 Dec 2024 21:32:04 +0000 Subject: [PATCH] switch from deprecated `_SCRIPT_NAME` to `_SCRIPT_SUBNAME` --- game-scripts/binmat_lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-scripts/binmat_lib.ts b/game-scripts/binmat_lib.ts index cfd8cde..11d43d8 100644 --- a/game-scripts/binmat_lib.ts +++ b/game-scripts/binmat_lib.ts @@ -53,7 +53,7 @@ export default (context: Context) => { if (!(context.calling_script || `is_scriptor` in context)) { return `This is a library script. Use this library script in your script like so:\n\n\`Tconst\` \`A{\` ${ Object.keys(library).sort().map(name => `\`N${name}\``).join(`\`A,\` `) - } \`A}\` \`O=\` \`A#${`nlmhf`[_SECLEVEL]}s.\`\`C${_SCRIPT_USER}\`\`A.\`\`L${_SCRIPT_NAME}\`\`A()\`\n\nThe source code for this script can be found in this GitHub repository:\n\`Phttps://github\`\`P.com/samualtnorman/binmat\`\n\nThis returned values of this script does not yet have any documentation but maybe that could be an opportunity for you to contribute :).` + } \`A}\` \`O=\` \`A#${`nlmhf`[_SECLEVEL]}s.\`\`C${_SCRIPT_USER}\`\`A.\`\`L${_SCRIPT_SUBNAME}\`\`A()\`\n\nThe source code for this script can be found in this GitHub repository:\n\`Phttps://github\`\`P.com/samualtnorman/binmat\`\n\nThis returned values of this script does not yet have any documentation but maybe that could be an opportunity for you to contribute :).` } return library