// this is the only function a behavior has to implement: // extern "C" __declspec (dllexport) void CALLBACK BOT_Cmd(BOTCMD *bc); #### +----------------+ |botcore.exe | +-----+ |CORE | <-->| ini | name of dll +-------------|--+ +-----+ |Bot.h | | -- | BotCMD | | | +-------------|--+ | <-- Any Bot programmer may change |behavior.dll | | if only code is compiled into DLL | CODE | -- and it exports BOT_Cmd function +----------------+