O.P. [Question]Remembering a ChatWnd
Hey guys ^^
I started scripting in MP!L 2 days ago, and it's all going fine.
Today I tried to script an auto-message thingy, that basically has to send a message in an open chat window after awhile.
So I set a timer id, and a var to contain my message, but my problem is in the 'OnEvent_Timer' function. I just can't seem to create the ChatWnd so I could send the message. I tried saving the contact email and using Messenger.OpenChat, I also tried simply using a ChatWnd without defining. I tried countless variations of anything that refers to creating a ChatWnd in the documentation, and nothing seems to work.
So does anyone know how to save a ChatWnd \ ChatWnd identifier in a Var, so I could re-use it to send messages under the Timer function?
Thank you very much,
Roy.
|