From 3973d70019e407addca3744c7e765d7b6faf7562 Mon Sep 17 00:00:00 2001 From: jckirton <66995801+jckirton@users.noreply.github.com> Date: Tue, 2 Dec 2025 15:01:49 +1030 Subject: [PATCH 1/3] Added marks.clone page. --- docs/scripting/trust_scripts/marks.clone.mdx | 104 +++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 docs/scripting/trust_scripts/marks.clone.mdx diff --git a/docs/scripting/trust_scripts/marks.clone.mdx b/docs/scripting/trust_scripts/marks.clone.mdx new file mode 100644 index 00000000..6add7426 --- /dev/null +++ b/docs/scripting/trust_scripts/marks.clone.mdx @@ -0,0 +1,104 @@ +--- +title: marks.sync +description: "Get marks between users." +--- + +((marks.clone)) allows you to acquire a mark you've gotten on another user, without needing to meet mark criteria. + +### Security Level + +NULLSEC + +## Syntax + +### CLI + +``` +marks.cone {name:"init"} +``` + +### Script + +``` +#ns.marks.clone({name:"init"}) +``` + +### Parameters + +#### name (required) + +The ((%Nname%)) parameter is the name of the mark you want to clone to the current user. + +### Return + +Returns a script response object, with varying messages on failure. + +#### CLI + +##### Normal mark + +``` +>>marks.clone {name:"example_mark"} +Success + +Mark :::example_mark:: earned. + +view further training with marks.available +view completed mark with marks.protocol { name: "example_mark" } +``` + +##### Hidden mark + +``` +>>marks.clone {name:"example_mark"} +Success + +mark :::example_mark:: has been hidden + +view further training with marks.available +view completed mark with marks.protocol { name: "example_mark" } +``` + +##### Unobtained mark + +``` +>>marks.clone {name:"example_mark"} +Failure +this mark has not been earned on any of your users +``` + +##### Already present mark + +``` +>>marks.clone {name:"example_mark"} +Failure +you have already earned this mark on this user +``` + +#### Script + +##### Success + +``` +{ + ok: true +} +``` + +##### Unobtained + +``` +{ + ok: false, + msg: "this mark has not been earned on any of your users" +} +``` + +##### Already present + +``` +{ + ok: false, + msg: "you have already earned this mark on this user" +} +``` From 6785fc8dbd6779ed6ec3524d6a68af2c11793626 Mon Sep 17 00:00:00 2001 From: jckirton <66995801+jckirton@users.noreply.github.com> Date: Tue, 2 Dec 2025 15:03:05 +1030 Subject: [PATCH 2/3] Added reference in marks system guide page. --- docs/guides/new_players/marks.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guides/new_players/marks.mdx b/docs/guides/new_players/marks.mdx index 0c0ce3e0..e8a655f8 100644 --- a/docs/guides/new_players/marks.mdx +++ b/docs/guides/new_players/marks.mdx @@ -59,3 +59,4 @@ Documentation for ((%Qmark%))-related Trust scripts are available below: - [[marks.protocol:((marks.protocol))]] - [[marks.available:((marks.available))]] - [[marks.sync:((marks.sync))]] +- [[marks.clone:((marks.clone))]] From f63b9101f68dd3d00154da04818b53b8a5a0ac42 Mon Sep 17 00:00:00 2001 From: jckirton <66995801+jckirton@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:05:54 +1030 Subject: [PATCH 3/3] Correcting marks.clone page title. How's about we use the correct title this time? :D Co-authored-by: matr1x <53655672+matr1x-hackmud@users.noreply.github.com> --- docs/scripting/trust_scripts/marks.clone.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting/trust_scripts/marks.clone.mdx b/docs/scripting/trust_scripts/marks.clone.mdx index 6add7426..438bf467 100644 --- a/docs/scripting/trust_scripts/marks.clone.mdx +++ b/docs/scripting/trust_scripts/marks.clone.mdx @@ -1,5 +1,5 @@ --- -title: marks.sync +title: marks.clone description: "Get marks between users." ---