i have made soemthing some that for Q3 games
i got remote cal like on *... bla bla :TEXT:
then if its text that i wana send on to the game console i do a dll call $dll(/scripts/dlls/ingameirc.dll,SentToConsole,$1-)
the dll it self will recieve the $1- as a charecter array in the data* thne i use the windows message system to send WM_CHAR messages to the console windows hanlde