mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[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:
@@ -76,22 +76,14 @@ void command_showskills(Client *c, const Seperator *sep)
|
||||
next_skill_id
|
||||
);
|
||||
|
||||
auto next_list_link = Saylink::Create(
|
||||
next_list_string,
|
||||
false,
|
||||
next_list_string
|
||||
);
|
||||
auto next_list_link = Saylink::Silent(next_list_string, next_list_string);
|
||||
|
||||
auto next_list_all_string = fmt::format(
|
||||
"#showskills {} all",
|
||||
next_skill_id
|
||||
);
|
||||
|
||||
auto next_list_all_link = Saylink::Create(
|
||||
next_list_all_string,
|
||||
false,
|
||||
next_list_all_string
|
||||
);
|
||||
auto next_list_all_link = Saylink::Silent(next_list_all_string, next_list_all_string);
|
||||
|
||||
c->Message(
|
||||
Chat::White,
|
||||
|
||||
Reference in New Issue
Block a user