Skip to content

Commit

Permalink
switch from deprecated _SCRIPT_NAME to _SCRIPT_SUBNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
samualtnorman committed Dec 21, 2024
1 parent f98b9ac commit d6eb4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game-scripts/binmat_lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6eb4ff

Please sign in to comment.