瀏覽代碼

added /mss (/multisend send) /msg (/multisend group) and /mst(/multisend sendto) aliases, no version bump

pull/1/head
Lolwutt 7 年之前
父節點
當前提交
16697497af
  1. 二進制
      release/plugins/MultiSend.dll
  2. 9
      src/MultiSend/Commands.cpp

二進制
release/plugins/MultiSend.dll

Binary file not shown.

9
src/MultiSend/Commands.cpp

@ -15,14 +15,16 @@ bool MultiSend::HandleCommand(const char* command, int32_t type) @@ -15,14 +15,16 @@ bool MultiSend::HandleCommand(const char* command, int32_t type)
com += GetArg(com, &arg);
if (_stricmp(arg.c_str(), "send") == 0)
if ((_stricmp(arg.c_str(), "send") == 0)
|| (_stricmp(command, "/mss") == 0))
{
if (strlen(com) < 2) return true;
SendCommand(0xFFFF0000, com + 1);
return true;
}
if (_stricmp(arg.c_str(), "sendto") == 0)
if ((_stricmp(arg.c_str(), "sendto") == 0)
|| (_stricmp(command, "/mst") == 0))
{
if (strlen(com) < 2)
{
@ -52,7 +54,8 @@ bool MultiSend::HandleCommand(const char* command, int32_t type) @@ -52,7 +54,8 @@ bool MultiSend::HandleCommand(const char* command, int32_t type)
m_AshitaCore->GetChatManager()->Write("MultiSend: Character not found.");
}
if (_stricmp(arg.c_str(), "sendgroup") == 0)
if ((_stricmp(arg.c_str(), "sendgroup") == 0)
|| (_stricmp(command, "/msg") == 0))
{
if (strlen(com) < 3)
{

Loading…
取消
儲存