void m_SendChat(void *thiz, bool global, char **message) { void *client; void *nameste; char *name; char ste[8]; client = getRPCSourceConnection(); nameste = getClientName(client); name = getString(nameste); Log(0, "%s(%d): %s\n", name, global, *message); if (strcmp(*message, "/test") == 0) { StringTableEntry(ste, "testing one two three", 1); s2cDisplayMessage(client, ColorNuclearGreen, SFXUIBoop, ste); return; } c_SendChat->OldCall((unsigned long)thiz, global, message); }