What I want to do is when I send a message (/myname) a toast appears with my name on it
IN COLOUR.
Alls I can do is remove the format codes, which I dont want to do and display the format codes which I dont want to do. Any help?
code:
var myName = Messenger.MyName
function OnGetScriptCommands(){
var commands = "<ScriptCommands>";
commands += " <Command>"
commands += " <Name>myname</Name>"
commands += " <Description>Displays your msn name in a toast</Description>"
commands += "</ScriptCommands>"
return commands;
}
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if(Message=="/myname") {
myName = MsgPlus.RemoveFormatCodes(myName);
MsgPlus.DisplayToast("Boo", myName);
}
}