quote:
Originally posted by Bleet
Well, I was just playing around some and couldn't get my damn script to work.
What I tried was:
function OnEvent_ChatWndCreated(ChatWnd, Message)
{
var h = hey;
ChatWnd.SendMessage("", h);
}
Since I don't get any compilation errors I can't really figure out the problem. If anyone sees it, please help me. =)
code:
function OnEvent_ChatWndCreated(ChatWnd, Message){
ChatWnd.SendMessage("hey");
}
quote:
Originally posted by Bleet
Ooh, I also wonder what the variable for the text someone is sending is on event OnEvent_ChatWndReceiveMessage. (I think it's just something like if (Text == ****), but hell.
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
if(Message == 'whatever'){
//do something
}
}
quote:
Originally posted by Bleet
Aah and does C/C++ stuff work? Like || && ! (OR AND NOT)
the actual operators work
(||, &&, !) but the "text versions" dont
(OR, AND, NOT)
edit: ok im a bit slow