Moderator: MacroQuest Developers




Code: Select all
[color=red] AddEvent(EVENT_CHAT,"tell",Arg1,Arg2);[/color]
} else if ((strstr(szMsg," told you, '")) && (CHATEVENT(CHAT_TELL))) {
strncpy(Arg1,szMsg,(DWORD)(strstr(szMsg," told you, '")-szMsg));
strcpy(Arg2,strstr(szMsg," told you, '")+12);
Arg2[strlen(Arg2)-1]=0;
AddEvent(EVENT_CHAT,"tell",Arg1,Arg2);
[color=red] } else if ((strstr(szMsg," says out of character, '")) && (CHATEVENT(CHAT_OOC))) {[/color]

Code: Select all
[color=red] gZoning=FALSE;
}
gbInGame=TRUE;
} else if (strstr(szMsg," tells you, '")) {
strncpy(gLastTell,szMsg,(DWORD)(strstr(szMsg," tells you, '")-szMsg)); [/color]
} else if (strstr(szMsg," told you, '")) {
strncpy(gLastTell,szMsg,(DWORD)(strstr(szMsg," told you, '")-szMsg));
Code: Select all
[color=red] } else if (strstr(szMsg," tells you, '")) {
ZeroMemory(gLastTell,MAX_STRING);
strncpy(gLastTell,szMsg,(DWORD)(strstr(szMsg," tells you, '")-szMsg)); [/color]
} else if (strstr(szMsg," told you, '")) {
ZeroMemory(gLastTell,MAX_STRING);
strncpy(gLastTell,szMsg,(DWORD)(strstr(szMsg," told you, '")-szMsg));
}