|
|
@ -15,14 +15,16 @@ bool MultiSend::HandleCommand(const char* command, int32_t type) |
|
|
|
com += GetArg(com, &arg); |
|
|
|
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; |
|
|
|
if (strlen(com) < 2) return true; |
|
|
|
SendCommand(0xFFFF0000, com + 1); |
|
|
|
SendCommand(0xFFFF0000, com + 1); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (_stricmp(arg.c_str(), "sendto") == 0) |
|
|
|
if ((_stricmp(arg.c_str(), "sendto") == 0) |
|
|
|
|
|
|
|
|| (_stricmp(command, "/mst") == 0)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (strlen(com) < 2) |
|
|
|
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."); |
|
|
|
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) |
|
|
|
if (strlen(com) < 3) |
|
|
|
{ |
|
|
|
{ |
|
|
|