mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 07:38:22 +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:
@@ -30,7 +30,7 @@ void command_viewzoneloot(Client *c, const Seperator *sep)
|
||||
std::string npc_name = current_npc->GetCleanName();
|
||||
uint32 instance_id = zone->GetInstanceID();
|
||||
uint32 zone_id = zone->GetZoneID();
|
||||
std::string command_link = Saylink::Create(
|
||||
std::string command_link = Saylink::Silent(
|
||||
fmt::format(
|
||||
"#{} {} {} {} {}",
|
||||
(instance_id != 0 ? "zoneinstance" : "zone"),
|
||||
@@ -39,7 +39,6 @@ void command_viewzoneloot(Client *c, const Seperator *sep)
|
||||
current_npc->GetY(),
|
||||
current_npc->GetZ()
|
||||
),
|
||||
false,
|
||||
"Goto"
|
||||
);
|
||||
npc_link = fmt::format(
|
||||
|
||||
Reference in New Issue
Block a user