All I'm trying to do is make a simple command that will resize my chat window to a specific size. Anyone think they can help me finish it? I'm kind of lost at the errors I'm getting. This is what I have so far:
code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
if (Message=="/sfix"){
SetWindowPos(ChatWnd.Handle, HWND_TOP, 0, 0, 700, 500, SWP_NOMOVE | SWP_NOZORDER);
return"";
}
}