Uggi i think i might have got it.
code:
var sendingMessage = "";
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
sendingMessage = Message;
return Message;
}
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
if (Message == sendingMessage)
{
//Do nothing
}
else
{
//Your code here
}
}
Im not sure but i think this is what you're trying to achive?
What this will do, is check if the message received in the chat window didn't come from you. Obviously if it did, then !popup would't work else if its from someone else it would.
I do think that RaceProUK is right too, you check the Origin of the message against your name, if its from you dont do anything else do stuff.
Not sure, this is what we are getting from your posts.