Hello all,
I'm trying to run the example plugin via vs 2005. Everything works fine but the following function is not being called. I like to hide the custom chat hook commands from being passed to console. Anyone encountered that error ? I thought the example would work on its own without any modification :\
(ssgm_version.ini)
[Version]
SSGM=2.0.2
Scripts=3.4.1
BHS=3.4
//Hook into SSGM's DDE channel.
//Return false to stop it from being passed to the console.
DLLEXPORT bool SSGM_DDE_Hook(const char *DDE) {
printf("SSGM_DDE_Hook called %s\n",DDE);
TokenClass Text(DDE);
if (Text[1] == "test") {
printf("\"%s\" command called with parameters: \"%s\"\n",Text[1].c_str(),Text(2).c_str());
return false;
}
return true;
}