I found a small tutorial on mircscripts about doing this but it doesnt quite help me with what im trying to do.

This is the function in my DLL... and works of course...

Function SendMessage(mWnd, aWnd: HWND; Data, parms: PChar; show, nopause: Boolean): Integer; Stdcall;
Begin
StrCopy(Data, 'Welcome');
Result := 3;
End;

If i type in mIRC: //echo -a $dll(MEF.dll, SendMessage, NOT_USED) it echo's the message in my function but what i want to do is get input from the command say a string of text for a dialog title or w/e.