i got rid of the error, and it worked...
but now a question about actions...
i don't really get where i can find the ections in the help file thingy... are object actions? 'cause i wanna make it so if some1 talks, it automatically says: 'blablablabla' so what's the actin codes for automatically saying something? and where can i find the actions?
sorry, next time i will search first...
i got it...
but what's the difference now between functions and properties?
i know what functions are nog, but what are those properties?
and eh... i made a little code, but it doesn't work... how do you use sendmessage?
code:
var naam
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind) {
if(Origin !== Messenger.MyName) { // Check if we did not send the message
SendMessage(Blablablabla);
naam=name;
SendMessage("hallo, " + naam + "!");
// [whatever you want to do]
}
return Message; // We don't want to do anything with the Message
}
why doesn't he sends a message?
i added ChatWnd. before both sendmessages, he says blablablabla now, but he doesn't say: hallo (name) !
rofl, 5th edit...
now i also added ChatWnd. before name and it worked, but now he says
halle, undefined!