RE: Get chatwindow
[code]var CurrentChat;
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if(Message=="/command"){
CurrentChat = ChatWnd;
MsgPlus.CreateWnd("xmlfile.xml","Bibliotek");
}
}
function OnBibliotekEvent_LstViewDblClicked(Wnd, Id, Handling){
CurrentChat.SendFile(Wnd.LstView_GetItemText("liste",Handling,1));
}[code]
This post was edited on 11-30-2006 at 07:36 PM by Spunky.
<Eljay> "Problems encountered: shit blew up"
|