[release] No Response - 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: [release] No Response (/showthread.php?tid=65411)
[release] No Response by saralk on 08-26-2006 at 11:39 AM
This is a very simple script that will send a nudge to a user who doesn't reply to a message you send within 30 seconds.
You can specifiy the time and the message, but for now you'll have to edit the code, i'll make a configuration window later, if I have time, and if there is enough interest.
Features Coming Soon
- Menu, for easy access to settings
- Per contact settings (or at least, switching it on and off per contact)
RE: [release] No Response by Jimbo on 08-26-2006 at 11:43 AM
wicked script thanks
would love to see the update with the configuration window
RE: [release] No Response by Felu on 08-26-2006 at 11:57 AM
quote: Originally posted by saralk
This is a very simple plugin that will send a nudge to a user who doesn't reply to a message you send within 30 seconds.
You can specifiy the time and the message, but for now you'll have to edit the code, i'll make a configuration window later, if I have time, and if there is enough interest.
Script
I don't think Contacts would prefer to be Nudge ed, so in my opinion its not a good script overall but some people might like to with it .
RE: [release] No Response by Jimbo on 08-27-2006 at 05:26 PM
please make the configuration window, saralk
its a great script
RE: [release] No Response by vaccination on 08-27-2006 at 05:33 PM
Tis nice but 30 seconds. :\
* vaccination changes to something more like 5- 10 minutes
RE: [release] No Response by Thor on 08-27-2006 at 05:57 PM
quote: Originally posted by vaccination
Tis nice but 30 seconds. :\
* vaccination changes to something more like 5- 10 minutes
That's because of you sudden tea time
Ok script, a config window should go quick.. But it's not needed for me
RE: [release] No Response by artfuldodga on 08-27-2006 at 06:13 PM
Suggestions.
+ Configuration Window
+ Contact Specific (Enable for Specific Contacts Option)
+ Use Seconds for Setting the Timer
Also, does the script start the timer from when you last say something? ... say its set to nudge after 10 minutes if theres no responce from the Contact to your Message Sent 10 Min ago? I would guess it works this way.
Edit I just noticed your original post, you are already on top of some things I mentioned.
RE: [release] No Response by nuclide on 06-18-2007 at 07:56 AM
after nudge I want to write automatically "You didn't response me after 30 sec. " How can I add this..
RE: [release] No Response by TheGuruSupremacy on 06-18-2007 at 11:11 AM
quote: Originally posted by nuclide
after nudge I want to write automatically "You didn't response me after 30 sec. " How can I add this..
code: var SettingMessage;
var SettingTimer;
function OnEvent_Initialize(MessengerStart)
{
SettingMessage = "/nudge";
SettingTimer = 30000;
}
function OnEvent_Timer(TimerID)
{
Debug.Trace("Timer Launched");
Messenger.OpenChat(TimerID).SendMessage(SettingMessage)
Messenger.OpenChat(TimerID).SendMessage("You didn't response me in 30 sec.");
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
if (Origin != Messenger.MyName) {
Debug.Trace("Message Received");
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext()) {
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
}
MsgPlus.CancelTimer(Contact.Email);
Debug.Trace("Timer Cancelled");
}
else {
if (Message != SettingMessage)
{
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
var NoContacts = 0;
for(; !e.atEnd(); e.moveNext()) {
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
NoContacts = NoContacts + 1;
}
Debug.Trace(NoContacts);
if (NoContacts == 1) {
MsgPlus.AddTimer(Contact.Email, SettingTimer);
Debug.Trace("Timer Started");
}
}
}
}
RE: RE: [release] No Response by nuclide on 06-18-2007 at 01:32 PM
quote: Originally posted by TheGuruSupremacy
quote: Originally posted by nuclide
after nudge I want to write automatically "You didn't response me after 30 sec. " How can I add this..
code: var SettingMessage;
var SettingTimer;
function OnEvent_Initialize(MessengerStart)
{
SettingMessage = "/nudge";
SettingTimer = 30000;
}
function OnEvent_Timer(TimerID)
{
Debug.Trace("Timer Launched");
Messenger.OpenChat(TimerID).SendMessage(SettingMessage)
Messenger.OpenChat(TimerID).SendMessage("You didn't response me in 30 sec.");
}
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
if (Origin != Messenger.MyName) {
Debug.Trace("Message Received");
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext()) {
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
}
MsgPlus.CancelTimer(Contact.Email);
Debug.Trace("Timer Cancelled");
}
else {
if (Message != SettingMessage)
{
var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
var NoContacts = 0;
for(; !e.atEnd(); e.moveNext()) {
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
NoContacts = NoContacts + 1;
}
Debug.Trace(NoContacts);
if (NoContacts == 1) {
MsgPlus.AddTimer(Contact.Email, SettingTimer);
Debug.Trace("Timer Started");
}
}
}
}
Thanx before I try like this but when it says "You didn't response me in 30 sec." after timer activated and then nudge again.. if person no response it will goes on because I always writing message automatically..
RE: [release] No Response by TheGuruSupremacy on 06-18-2007 at 02:12 PM
quote: Originally posted by nuclide
Thanx before I try like this but when it says "You didn't response me in 30 sec." after timer activated and then nudge again.. if
Sorry,can you explain what you mean better???Because i really don't understand this....
RE: [release] No Response by nuclide on 06-18-2007 at 02:34 PM
Sorry for my bad Eng.
If I use your code firstly I send a nudge after say You didn't response me in 30 sec.
But the problem is when I say "You didn't response me in 30 sec." timer re activated and it will send nudge + message.. .. again again it will be flood.. I want to only one time do it..
I hope I can explain..
RE: [release] No Response by KatieScarlett on 06-18-2007 at 02:55 PM
quote: Originally posted by muclide
Sorry for my bad English.
Firstly, if I use your code it sends a nudge then it says "You didn't respond to me within the past 30 seconds.", then the timer is re-activated and a nudge is sent again with the message, and it gets repeated everytime. and then it'll be a flood for my contact... I want it to send the nudge and the message, just one time, until I re-activate it manually.
I hope I can explain.
I guess that's what he means...
RE: [release] No Response by CookieRevised on 06-18-2007 at 03:04 PM
Nice idea, but I would hate it when people use such a script against me Anyways, some quick comments to improve/fix the script:
-Before using the SendMessage() function, _always_ check that you actually can send something. This is very much stressed upon in the scripting documentation. Especially if you use it in a delayed function like a timer event.
-Cancel all timers when the user signs out!!!!!!!!!!
(...for making it user specific (currently the script is not), and also to avoid a big list of (internal) errors when you do sign out or are signed out, and to avoid that another user is nudging people out of the blue.
- code: var Contacts = ChatWnd.Contacts;
var e = new Enumerator(Contacts);
var NoContacts = 0;
for(var e = new Enumerator(Contacts); !e.atEnd(); e.moveNext()) { // why do people always put the enumeration declaration outside the For function, such a waste of space
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
NoContacts = NoContacts + 1;
}
why not simply ChatWnd.Contacts.Count ?
-code: if (Origin != Messenger.MyName) {
Debug.Trace("Message Received");
var Contacts = ChatWnd.Contacts;
for(var e = new Enumerator(Contacts); !e.atEnd(); e.moveNext()) {
var Contact = e.item();
Debug.Trace(" " + Contact.Email);
}
MsgPlus.CancelTimer(Contact.Email);
Debug.Trace("Timer Cancelled");
}
You will cancel the timer from somebody else here...
Contact A has a personal convo with you.
Contact A is also in a group chat with you, together with contact B.
You say something in the personal chat to contact A, timer A starts.
Contact B says something in the group chat, timer of A cancels...
(goes against what your script is meant to do I think)
/me will wave the block wand when someone uses this script against me
EDIT:quote: Originally posted by saralk
The truth is, I just wanted a T-shirt
lol
RE: [release] No Response by Eddie on 06-18-2007 at 04:05 PM
Mmm i dont like such a script, nice idea for people who do like this kind of thing tho
RE: [release] No Response by saralk on 06-18-2007 at 04:25 PM
The truth is, I just wanted a T-shirt
RE: [release] No Response by blacky on 03-15-2008 at 11:48 AM
how can i stop that and how can i edit that script pleas contact me
RE: [release] No Response by saralk on 03-15-2008 at 08:32 PM
Just disable it in the script options. Or do you mean someone else using it on you?
RE: [release] No Response by blacky on 03-15-2008 at 08:41 PM
i mean from te response script
|