O.P. RE: Is there a way to...
function OnEvent_Initialize(MessengerStart)
{
}
OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
Message = Message.replace(/\bk\b/i,"Ok");
return Message;
}
function OnEvent_Uninitialize(MessengerExit)
{
}
function OnEvent_Initialize(MessengerStart)
{
}
OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
if (Message=="k")
{
return "ok";
}
}
function OnEvent_Uninitialize(MessengerExit)
{
}
I've tried both
There are 10 types of peple in the world, those who know binary and those who don't.
|