Moderator: MacroQuest Developers




Code: Select all
if (szCmd[0]==';')
{
pEverQuest->InterpretCmd((EQPlayer*)pChar,szOriginalLine);
return;
}
Code: Select all
if (szCmd[0]==';')
{
pEverQuest->InterpretCmd((EQPlayer*)pChar,szLine);
return;
}

Code: Select all
/chat tellCode: Select all
;tell

In HideDoCommand it gets szLine as a parameter, then a bit further down it copies that to szOriginalLine and sets szCmd to the first argument.Lax wrote:The reason to check if there's a ; is there is no list of ; commands on the client, so previously you would get an error about an invalid command. All ; commands get sent to the server for processing. Although, I do agree that it could be parsed for replacements etc
