What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » SP3 - MsgPlus Script Problem

SP3 - MsgPlus Script Problem
Author: Message:
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
38 / Male / Flag
Joined: Jul 2005
RE: SP3 - MsgPlus Script Problem
quote:
Originally posted by bigbob85
Jesus, what is a case when kOMPlEXXs script wont work?

Works for me. Dosnt work for a chat only name... yet...
quote:
Originally posted on the StuffPlug 3 forums
TimeStamp format as follows:
H = 24 Hour
HH = 24 Hour with leading zero
h = 12 Hour
hh = 12 Hour with leading zero
m = Minutes
mm = Minutes with leading zero
s = Seconds
ss = Seconds with leading zero
t = A/P
tt = AM/PM
Now, say szTimeStamp = "[H:mm]", which has a length of 6.
In this timestamp, H can be any number from 0 to 23 and mm can be any number from 00 to 59.
As long as it's before 10am, H will be replaced with 1 character, eg [9:55], with a length of 6. However, 10 minutes later, it will be [10:05], with a length of 7.
As a result, using this method could get you an extra space before the nickname, or even the last few characters of the timestamp.

The method I used first checks whether timestamps are enabled, and if they are, it counts the amount of spaces in the szTimeStamp registry value and removes the amount of spaces plus one space-separated character blocks from the beginning of the string. Spaces don't get replaced by stuffplug and there's always a space between the timestamp and the nickname. If timestamps are disabled or empty, it returns the string you put in.
Man is least himself when he is in his own person. Give him a mask and he will tell you the truth. (Oscar Wilde)
03-20-2007 11:24 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
SP3 - MsgPlus Script Problem - by bigbob85 on 03-08-2007 at 09:57 PM
RE: SP3 - MsgPlus Script Problem - by matty on 03-08-2007 at 10:07 PM
RE: SP3 - MsgPlus Script Problem - by Felu on 03-09-2007 at 04:07 AM
RE: SP3 - MsgPlus Script Problem - by markee on 03-09-2007 at 01:18 PM
RE: SP3 - MsgPlus Script Problem - by J-Thread on 03-09-2007 at 03:35 PM
RE: SP3 - MsgPlus Script Problem - by TheGuruSupremacy on 03-09-2007 at 04:43 PM
RE: SP3 - MsgPlus Script Problem - by Matti on 03-09-2007 at 05:37 PM
RE: SP3 - MsgPlus Script Problem - by TheGuruSupremacy on 03-09-2007 at 05:41 PM
RE: RE: SP3 - MsgPlus Script Problem - by markee on 03-10-2007 at 04:48 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-10-2007 at 05:20 AM
RE: SP3 - MsgPlus Script Problem - by markee on 03-10-2007 at 05:29 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-10-2007 at 05:42 AM
RE: SP3 - MsgPlus Script Problem - by matty on 03-10-2007 at 07:01 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-10-2007 at 07:08 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-12-2007 at 09:57 AM
RE: SP3 - MsgPlus Script Problem - by Felu on 03-12-2007 at 10:04 AM
RE: RE: SP3 - MsgPlus Script Problem - by TheGuruSupremacy on 03-12-2007 at 10:49 AM
RE: SP3 - MsgPlus Script Problem - by Felu on 03-12-2007 at 10:57 AM
RE: SP3 - MsgPlus Script Problem - by TheGuruSupremacy on 03-12-2007 at 11:01 AM
RE: SP3 - MsgPlus Script Problem - by Jesus on 03-12-2007 at 12:13 PM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-12-2007 at 09:21 PM
RE: SP3 - MsgPlus Script Problem - by kOMPlEXX on 03-20-2007 at 12:52 AM
RE: RE: SP3 - MsgPlus Script Problem - by Jesus on 03-20-2007 at 11:59 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-20-2007 at 05:50 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-20-2007 at 10:25 PM
RE: SP3 - MsgPlus Script Problem - by Jesus on 03-20-2007 at 11:24 PM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 03-21-2007 at 02:02 AM
RE: SP3 - MsgPlus Script Problem - by Jesus on 03-21-2007 at 10:46 AM
RE: SP3 - MsgPlus Script Problem - by bigbob85 on 04-05-2007 at 12:28 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On