mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 02:31:03 +00:00
[Quest API] Add EVENT_GM_COMMAND to Perl/Lua. (#2634)
# Perl - Add `EVENT_GM_COMMAND`, exports `$message`. # Lua - Add `event_gm_command`, exports `e.message`. # Notes - Only parses with real GM commands such as `#reload quest`.
This commit is contained in:
@@ -602,6 +602,8 @@ int command_realdispatch(Client *c, std::string message, bool ignore_status)
|
||||
return -1;
|
||||
}
|
||||
|
||||
parse->EventPlayer(EVENT_GM_COMMAND, c, message, 0);
|
||||
|
||||
cur->function(c, &sep); // Dispatch C++ Command
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user