Shoutbox

[request]add an icon automatically in the beginning of every line I type - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [request]add an icon automatically in the beginning of every line I type (/showthread.php?tid=77242)

[request]add an icon automatically in the beginning of every line I type by bungleMX on 09-04-2007 at 05:22 PM

Hi, has anyone made or can do an Script tu add a personal Emoticon en every line of the conversation with out type it down?
Like this

-----------

bunglemx says:
(H) Hi how are you?

x says:

fine and you?

bunglemx says:
(H) I'm ok

-------------



I hope someone can do it :D


RE: [request]add an icon automatically in the beginning of every line I type by Spunky on 09-04-2007 at 05:36 PM

var smiley = ":D";

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    Message = smiley+" "+Message;
    return Message;
}


RE: RE: [request]add an icon automatically in the beginning of every line I type by bungleMX on 09-04-2007 at 05:50 PM

quote:
Originally posted by SpunkyLoveMuff
var smiley = ":D";

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    Message = smiley+" "+Message;
    return Message;
}




Woow that was so fast, and works cool
one million thanks!!
RE: [request]add an icon automatically in the beginning of every line I type by Spunky on 09-04-2007 at 05:52 PM

Thats what I'm here for ;)


RE: [request]add an icon automatically in the beginning of every line I type by matty on 09-04-2007 at 06:02 PM

Why not shorten it to this:

code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    return ':D '+Message;
}

Why waste memory by allocating it for a variable when it isn't needed?
RE: [request]add an icon automatically in the beginning of every line I type by toddy on 09-04-2007 at 06:08 PM

quote:
Originally posted by matty
Why not shorten it to this:

code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    return ':D '+Message;
}

Why waste memory by allocating it for a variable when it isn't needed?
because SpunkyLoveMuff is newb

RE: [request]add an icon automatically in the beginning of every line I type by Spunky on 09-04-2007 at 06:32 PM

It's be easier for him to find which bit to edit... I could have shortened it if I knew for sure that they'd understand it