quote:
Originally posted by SnuZZer
Hi.
I'm sorry I don't understand. Can you give an example?
This is were those "global variables"
we talked about here come into play:
look at the
CurrentChat variable in SpunkyLoveMuff's script..
When the user enters the command, the
OnEvent_ChatWndSendMessage event is fired.
There the
CurrentChat variable is set to hold the chatwindow object of the window where that command was entered in (you get that object passed from the
OnEvent_ChatWndSendMessage event itself, see
ChatWnd parameter).
Then the window with that list is created and when the user double clicks an item in that list, the file is send to the chatwindow object which was set in the
CurrentChat variable.