i've written a couple of js scripts for html files so i understand it a bit, i've read the scripting documents, but i want to write a script that adds a bunch of text like windows version tag and a gradient tag to the start and end of the message.
is there a tutorial or something to show me how to do something like that?
to make a script do what you want it is very simple
code:function OnEvent_ChatWndSendMessage(ChatWnd, Message){
Message = 'stuff you want before the massage'+Message+'stuff after the message';
return Message;
}
i'm trying to get the contacts display name apear in the window when they talk to me.
i understand they will need to install the script but i use nicknames so their display name does not show up and i want to add the display name to the conversation
so i want something like
(code)
var contact=get_contact-email()
if
contact== myemail
do
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
Message = '(!m)[c=4] \n'+Message+'[/c=12]';
return Message;
}
This post was edited on 11-14-2006 at 09:07 AM by Jarrod.