Request : Auto-Blocker - 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 : Auto-Blocker (/showthread.php?tid=67630)
Request : Auto-Blocker by Luke555 on 10-24-2006 at 01:32 PM
Well nothing bad now is it?
I just it to do the following :
Soon as somebody speaks [ANY CONTACT]
It shall display a message, something like : "You have been blocked for speaking while busy"
& then, blocked.
Simple
But effective.
Is anybody willing to script this so i can stick it in my scripting file.
Thanks,
Luke
RE: Request : Auto-Blocker by EBFL on 10-24-2006 at 01:36 PM
Hello,
This Idea Is Good Isn't It?
I had the same idea yesterday.
And I will share any success i get with you.
RE: Request : Auto-Blocker by Luke555 on 10-24-2006 at 01:43 PM
Great!
I'll just sit and wait here for somebody to post the script.
As i was told to come here. Well i don't want to be rude & keep bumping so.
If you can do this script..
Or anything! [ the script ]
Please add me on msn :
RE: Request : Auto-Blocker by Jimbo on 10-24-2006 at 02:06 PM
quote: Originally posted by Luke555
Well i don't want to be rude & keep bumping so.
If you can do this script..
Or anything! [ the script ]
Please add me on msn :
Admin edit: Email address removed by request.
Just be patient, it is possible and if no one has done it by tonight, i will do it for you.
RE: Request : Auto-Blocker by Luke555 on 10-24-2006 at 02:08 PM
Alright, No problem.
Add through msn?
-- [ Last Post ] --
RE: Request : Auto-Blocker by pollolibredegrasa on 10-24-2006 at 02:23 PM
Just to clear it up a bit, do you want it to send that message and block anybody when you have your status as busy? (I assume this is what you mean, but you didn't explicitly state it in your post so I'm just making sure )
RE: Request : Auto-Blocker by Luke555 on 10-24-2006 at 02:26 PM
IF my status is busy.
And [any contact] speaks..
= Block.
, is it possible to block for a certain amount of time? if so.
Please have that in aswell!
Or, just leave for me to manuely do.
That'll just finsh it off nicely!
RE: Request : Auto-Blocker by pollolibredegrasa on 10-24-2006 at 02:33 PM
You can actually set up a combination of quicktext/custom status to do most of what you want.
Using the settings shown in the attachment you can set it so when you set a custom status (which you can call busy, and be seen as busy) and someone talks, it sends a quicktext which sends the message then blocks them.
It should be a pretty simple script though so I'll have a go at that anyway in a bit.
Edit: You have to use the Custom status rather than the default WLM one
RE: Request : Auto-Blocker by Luke555 on 10-24-2006 at 02:34 PM
Sadly, no.
There is somepeople that talk to me about 'good stuff'
I hate people just as i log on saying : "hi, wut u doin?"
It just annoys me
Thats why this script must be scripted.
-Added-
quote: Originally posted by Phillip
Wouldn't it just be easier to appear offline..?
RE: Request : Auto-Blocker by Plan-1130 on 10-24-2006 at 05:19 PM
code: function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{
if(Messenger.MyStatus == 4) //if status is set to "busy"
{
ChatWnd.SendMessage("You have been blocked for talking while I'm busy"); // Do the talking
ChatWnd.SendMessage("/block"); //Do the blocking
}
}
RE: Request : Auto-Blocker by Ezra on 10-24-2006 at 05:56 PM
This script will block all contacts in the chat window if it's a group chat.
However while testing I noticed a little problem, the script blocks too fast for the "You have been blocked" message to get send...
Maybe someone knows how to fix that, I tried using a timer to block, but you can't send the ChatWnd object to the timer.
code: function onEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
if (Origin != Messenger.MyName && MessageKind != 6 && Messenger.Mystatus == 4)
{
if (ChatWnd.EditChangeAllowed)
{
ChatWnd.SendMessage("You have been blocked for talking while I'm busy");
}
for (var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext())
{
e.item().blocked = true;
Debug.Trace(e.item().name + "( " + e.item().email + " ) has been blocked");
}
}
}
RE: Request : Auto-Blocker by pollolibredegrasa on 10-24-2006 at 08:51 PM
My attempt...
RE: Request : Auto-Blocker by Ezra on 10-26-2006 at 01:51 PM
I also tried something
Features a exclude list, and a blocked users list or automatic unblock.
I tested it, and it works, but I don't really have plsc pack for it yet, will make one soon.
http://code.google.com/p/busyblocker << The Project page.
EDIT: Added the plsc pack, you can find it in the repository in the trunk directory.
|