Browse Source

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

master
Lolwutt 3 years ago
parent
commit
16697497af
2 changed files with 6 additions and 3 deletions
  1. BIN
      release/plugins/MultiSend.dll
  2. +6
    -3
      src/MultiSend/Commands.cpp

BIN
release/plugins/MultiSend.dll View File


+ 6
- 3
src/MultiSend/Commands.cpp View File

@ -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)
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…
Cancel
Save