[Saylinks] Convert all GM Command Saylinks to Silent Saylinks. (#2373)

* [Saylinks] Convert all GM Command Saylinks to Silent Saylinks.
- This cleans up all non-silent GM Command Saylinks that we had before due to the way they worked before. All saylinks like this should be silent now.
- Add source short hand capability for say links with same link as text.

* Defaults to r anyway.

* Spacing.
This commit is contained in:
Kinglykrab
2022-08-13 20:40:22 -04:00
committed by GitHub
parent 597b041d92
commit 216b6ef426
33 changed files with 186 additions and 356 deletions
+2 -10
View File
@@ -4,11 +4,7 @@ void command_feature(Client *c, const Seperator *sep)
{
int arguments = sep->argnum;
if (arguments < 2 || !sep->IsNumber(2)) {
auto feature_save_link = Saylink::Create(
"#npcedit featuresave",
false,
"#npcedit featuresave"
);
auto feature_save_link = Saylink::Silent("#npcedit featuresave");
c->Message(Chat::White, "Usage: #feature beard [Beard] - Change your or your target's Beard");
c->Message(Chat::White, "Usage: #feature beardcolor [Beard Color] - Change your or your target's Beard Color");
@@ -67,11 +63,7 @@ void command_feature(Client *c, const Seperator *sep)
!is_tattoo &&
!is_texture
) {
auto feature_save_link = Saylink::Create(
"#npcedit featuresave",
false,
"#npcedit featuresave"
);
auto feature_save_link = Saylink::Silent("#npcedit featuresave");
c->Message(Chat::White, "Usage: #feature beard [Beard] - Change your or your target's Beard");
c->Message(Chat::White, "Usage: #feature beardcolor [Beard Color] - Change your or your target's Beard Color");