this cant be done. the purpose of the alias is to notify you when the function has finished and returned. $dllcall cannot return the value returned by the dll function because the function is executed in another thread. this means that when $dllcall returns the dll function could still be executing and hasnt returned yet. cant return a value if you dont have one.
the 2 calls are used to compliment each other. when you need to write a long dll function its best to used $dllcall so that mIRC isnt frozen. If you MUST have the return value use $dll. In contrast however you can of course make use of the mapped file and call whatever alias you like with whatever parameters you like (but $dllcall will never return what the function returned).
i posted before i read the previous thread but now i think i knwo what you want. the simple solution would be to specify a bogus name for the alias in $dllcall. this means nothing happens (on mIRC's part) when the function returns. you can then use the mapped file to call another alias passing in the value returned from the function.
I agree the alias should be called with the return value included as this is entirely possible but until then try using the mapped file. sorry for the confusion its late and im tired
