simonseztech
24-06-2007, 11:03 PM
Ok I want to hide specific system message here what I have so far...
This fuction got triggered when event == "CHAT_MSG_SYSTEM"
function BgMsg_CatchMsgSystem()
msg = arg1;
i, j = string.find(msg, "the battle")
if i ~= nil then
BGMSG_Print("CHATMSGSYSTEM CATCH"..msg)
end;
end;
So far all "User has joined the battle" and "User has left the battle" trigger
my print.
My question is how do I hide them ? and
what is the pattern to search "has * the battle" ?
Any help will be great thanks.
This fuction got triggered when event == "CHAT_MSG_SYSTEM"
function BgMsg_CatchMsgSystem()
msg = arg1;
i, j = string.find(msg, "the battle")
if i ~= nil then
BGMSG_Print("CHATMSGSYSTEM CATCH"..msg)
end;
end;
So far all "User has joined the battle" and "User has left the battle" trigger
my print.
My question is how do I hide them ? and
what is the pattern to search "has * the battle" ?
Any help will be great thanks.