i made one of the many ingame irc things for irc

mine is for mirc and windows Q3type games

i made something that alows ppl to type /irc something

then the idea is the message arives at mirc and mirc will exec it as a mirc command

now i dont think mirc can evaluate a string into command so i tryed using the return 2 function of the .dll but sadly nothin happents

i call the dll by
Code:
$dll(script/dlls/ingame_irc.dll,GetConsole,)
the dll funtion is
Code:
int __declspec(dllexport) FAR PASCAL GetConsole(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL show, BOOL nopause){
	//char charry = 0x0D;
	
	data = databuffer;
	
	MessageBox(NULL,va("return data ist %s",data),PROGNAME,MB_OK);

	return 2;
}
now the message box show it just fine but whit mirc itzelf nothing realy happents

does any1 got an idea