mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 02:38:45 +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:
@@ -60,10 +60,13 @@ void command_findzone(Client *c, const Seperator *sep)
|
||||
break;
|
||||
}
|
||||
|
||||
std::string command_zone = Saylink::Create("#zone " + short_name, false, "zone");
|
||||
std::string command_gmzone = Saylink::Create(
|
||||
fmt::format("#gmzone {} {}", short_name, version),
|
||||
false,
|
||||
std::string command_zone = Saylink::Silent("#zone " + short_name, "zone");
|
||||
std::string command_gmzone = Saylink::Silent(
|
||||
fmt::format(
|
||||
"#gmzone {} {}",
|
||||
short_name,
|
||||
version
|
||||
),
|
||||
"gmzone"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user