What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST]Random quotes, automatic

[REQUEST]Random quotes, automatic
Author: Message:
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. [REQUEST]Random quotes, automatic
What I want is a code that takes quotes from a file, or from a menu if you bother to make one (though it would use a file, I think). And then you can select the number of seconds between every message... For example I have 2 quotes:

"I'm better than you."
and:
"You are better than me."

If I select 120 seconds in the variable it will take 2 minutes between the quotes, when it's at the end of the file it would loop over and over etc.

If this already exists I'm so sorry :$ I can't find it where it does it by time... :(
01-07-2008 07:36 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [REQUEST]Random quotes, automatic
this should work :)

includes an option to edit quotes.txt in the script menu.

Commands:
/trqstart - starts reading from quotes.txt
/trqstop - stops reading from quotes.txt


Note that you could only do this to one contact at a time

P.S: edit the script to change the number of seconds until the next quote gets sent. ;)

.plsc File Attachment: Timed Random Quotes.plsc (1.53 KB)
This file has been downloaded 199 time(s).

This post was edited on 01-08-2008 at 10:14 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
01-08-2008 10:13 PM
Profile PM Web Find Quote Report
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. RE: [REQUEST]Random quotes, automatic
Ohh I'm sorry that I wasn't clear enough, the quotes should be in the Personal Message area :(
01-09-2008 05:49 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [REQUEST]Random quotes, automatic
this should work :) tested.

kept the older version so other people can download :P

(WLM: the timer is set to 1 second, so it may reset the psm sometimes, edit the script to set your preferred amount of time until the next quote comes in)

.plsc File Attachment: Timed Random Quotes 2.plsc (1.57 KB)
This file has been downloaded 165 time(s).

This post was edited on 01-09-2008 at 08:36 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
01-09-2008 08:34 PM
Profile PM Web Find Quote Report
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. RE: [REQUEST]Random quotes, automatic
Thanks! You're the best!

You may close/do what ever you do with finished topics :P
01-10-2008 04:55 PM
Profile E-Mail PM Find Quote Report
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. RE: [REQUEST]Random quotes, automatic
Hmm is it possible to make so it automatically starts quoting when I start MSN ("Start and "Stop" quoting should still be there though)? And when it reaches the end of the text file it just loops over again.
01-20-2008 05:10 PM
Profile E-Mail PM Find Quote Report
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. RE: [REQUEST]Random quotes, automatic
*Bump*
01-24-2008 06:24 PM
Profile E-Mail PM Find Quote Report
Whitewolf
New Member
*


Posts: 1
34 / Male / Flag
Joined: Jan 2008
RE: [REQUEST]Random quotes, automatic
It sure is, to start it automatically all you'd have to do is add the following code to your script, right after the OnGetScriptMenu() function:
code:
function OnEvent_Signin(Email) {
       qfile = fso.OpenTextFile(MsgPlus.ScriptFilesPath + "\\quotes.txt", 1);
       MsgPlus.AddTimer("sendmsg", timer * 1000);
       Messenger.MyPersonalMessage = qfile.ReadLine();
}


That is the same code used when you push the "Start" menu button, except it executes when you sign in to msn.

Edit: As for the loop, I am unsure how that would be done (sorry, new to this). Also, tested it and it works.

This post was edited on 01-27-2008 at 10:19 AM by Whitewolf.
01-27-2008 10:07 AM
Profile PM Find Quote Report
Jonte135
Junior Member
**


Posts: 57
– / – / Flag
Joined: Aug 2007
O.P. RE: [REQUEST]Random quotes, automatic
Ahh awesome thanks :)

This post was edited on 01-27-2008 at 10:38 AM by Jonte135.
01-27-2008 10:37 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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