Shoutbox

Big initial in a message - 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: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Big initial in a message (/showthread.php?tid=32364)

Big initial in a message by zhorty on 10-02-2004 at 12:28 AM

Hello.
Is it anybody here know a script that makes a big first-initial in a message, without writing it?

Thanks.


RE: Big initial in a message by CookieRevised on 10-02-2004 at 01:11 AM

Not possible, in a sense that you can't change the font in a message for only certain words/characters. You can only change the font for the whole message.

Given this, there is another possebility though. You can use/create a "talker" for StuffPlug-NG which uses the Messenger Plus! character codes to make the first letter bold (and in color if you wish). But this also means that your contacts need Messenger Plus! to be installed, otherwise they wont see the bold letter and only some weird characters... (note: I didn't tried this yet, so I don't know if Plus!-tags are reconized within a StuffPlug-NG talker, but I assume they are)

With such a StuffPlug-NG Talker, this will be what the contacts with Messenger Plus! will see:
    "Hello world..."

This will be what the contacts without Plus! will see:
    "(!FB)(!FC4)H(!FR)ello world..."
or
    "4Hello world"


To make this talker, create a file called "capital.vbs" in the StuffPlug-NG talker directory and put this inside the file:

code:
Function talker(input)
  If input = "" Then
    talker = ""
  Else
    talker = "(!FB)(!FC4)" & Left(Trim(input), 1) & "(!FR)" & Mid(Trim(input), 2)
  End If
End Function

Edited by Chrono: Cookie th3 n00b doesnt know how to use bbcode :refuck:
Edited by Cookie: What? Who? Where?
RE: Big initial in a message by zhorty on 10-15-2004 at 04:46 PM

Hello.
Sorry for replying this late, but i was away for some days.

I don't mean a big initial, but a big one like "H" here: "Hello" :P
Without holding down shift to make one, just automaticly write small, and the first will become big?

Sorry my english, Hope you understand.


RE: Big initial in a message by crank on 10-15-2004 at 05:15 PM

Do You Mean Like This??
i think that has to do with something else then doing anything in messenger


RE: Big initial in a message by matty on 10-15-2004 at 05:51 PM

code:
Function talker(strInput)
   If strInput <> "" then
      If InStr(1, "abcdefghijklmnopqrstuvwxyz", Left(strInput, 1)) Then
         talker = UCase(Left(strInput, 1)) + Right(strInput, Len(strInput) - 1)
      Else: talker = strInput
      End If
   Else: talker = ""
   End If
End Function

Extract the file to C:\Program Files\Messenger Plus! 3\Plugins\StuffPlug-NG or whereever you have installed Messenger Plus! to.

In a conversation window type in /xautotalker capital then press enter
Close the conversation window and reopen it, now every time you type it will change the first letter to a capital
RE: Big initial in a message by zhorty on 10-15-2004 at 06:50 PM

That didn't work wery well :(


RE: Big initial in a message by zhorty on 10-15-2004 at 06:51 PM

Ops, i haven't enabled the auto-talker, it worked now.
Thanks Matty! :D


RE: Big initial in a message by matty on 10-15-2004 at 06:54 PM

Your welcome, just next time if you have to make another post, use the [Image: edit.gif] button to change what you said.

And your welcome.


RE: RE: Big initial in a message by zhorty on 10-15-2004 at 07:08 PM

quote:
Originally posted by Matty
Your welcome, just next time if you have to make another post, use the [Image: edit.gif] button to change what you said.

And your welcome.

Actually i know about that edit button, and I don't like when people doublepost neither, but I've just visited a forum, and They had disabled the edit button, so I was a little into that forum (6)

Gonna remember it next time ;)
RE: RE: Big initial in a message by CookieRevised on 10-15-2004 at 11:55 PM

btw

quote:
Originally posted by Matty
code:
Function talker(strInput)
   If strInput <> "" then
      If InStr(1, "abcdefghijklmnopqrstuvwxyz", Left(strInput, 1)) Then
         talker = UCase(Left(strInput, 1)) + Right(strInput, Len(strInput) - 1)
      Else: talker = strInput
      End If
   Else: talker = ""
   End If
End Function


This can be much shorter I believe, like so:
code:
Function talker(strInput)
  talker = UCase(Left(strInput, 1)) + Mid(strInput, 2)
End Function

- UCase will only uppercase characters which have an uppercased equivalent, the rest is left alone, so no need for double checking.
- The line will also convert a 0-length string to a 0-length string (used by StuffPlug-NG to check for a valid talker).
;)

RE: Big initial in a message by Concord Dawn on 10-16-2004 at 04:25 AM

Cookie, some advice: If it ain't broke, don't fix it.


RE: Big initial in a message by CookieRevised on 10-16-2004 at 02:55 PM

quote:
Originally posted by Chaotic_Shield
Cookie, some advice: If it ain't broke, don't fix it.
There is also something like: "don't do what a build-in function already does", "don't invent the wheel again", "useless/double coding", "effecienty"...

And about the "ain't broke": the function of Matty doesn't uppercase sentences in foreign languages. (eg: "één mooie zomeravond" isn't uppercased; with my function it is)

The function of Matty wasn't broken indeed, but it could be slightly improved...
RE: Big initial in a message by Spanker on 10-16-2004 at 04:37 PM

o cool
but is there any form to make it
that changes the first letter of every word
to capital ??

"Like This."

can a script like that be done ? ^o)


RE: Big initial in a message by CookieRevised on 10-17-2004 at 12:28 AM

quote:
Originally posted by Zales
but is there any form to make it
that changes the first letter of every word
to capital ??
code:
Function talker(strInput)
  Dim strTemp, I 
  strTemp = strInput
  I = 0
  Do
    strTemp = Left(strTemp, I) + UCase(Mid(strTemp, I+1, 1)) + Mid(strTemp, I+2)
    I = Instr(I+2, strTemp, " ")
  Loop Until I = 0
  talker = strTemp
End Function
and if you want everything else lowercased replace
   strTemp = strInput
with
   strTemp = LCase(strInput)

RE: RE: Big initial in a message by Leif on 10-17-2004 at 12:38 AM

quote:
Originally posted by Zales
o cool
but is there any form to make it
that changes the first letter of every word
to capital ??

"Like This."

can a script like that be done ? ^o)



We Don't Want That, Do We?
Looks bloody awful, if you ask me!
So don't ask me ...  :P