code:function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
if(Messenger.MyStatus == 4) //if status is set to "busy"
{
ChatWnd.SendMessage("You have been blocked for talking while I'm busy"); // Do the talking
ChatWnd.SendMessage("/block"); //Do the blocking
}
}
This post was edited on 10-24-2006 at 05:20 PM by Plan-1130.