mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +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:
+2
-10
@@ -3147,16 +3147,8 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
if (request_zone_short_name == local_zone_short_name || can_reload_global_script) {
|
||||
zone->SetQuestHotReloadQueued(true);
|
||||
} else if (request_zone_short_name == "all") {
|
||||
std::string reload_quest_saylink = Saylink::Create(
|
||||
"#reload quest",
|
||||
false,
|
||||
"Locally"
|
||||
);
|
||||
std::string reload_world_saylink = Saylink::Create(
|
||||
"#reload world",
|
||||
false,
|
||||
"Globally"
|
||||
);
|
||||
std::string reload_quest_saylink = Saylink::Silent("#reload quest", "Locally");
|
||||
std::string reload_world_saylink = Saylink::Silent("#reload world", "Globally");
|
||||
worldserver.SendEmoteMessage(
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user