Shoutbox

[Release] Block someone for X seconds with Y 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: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] Block someone for X seconds with Y message. (/showthread.php?tid=69276)

[Release] Block someone for X seconds with Y message. by Deco on 12-08-2006 at 11:33 AM

As asked in this thread I've made a little script to block people for  a certain amount of time.

Usage: !blockmsg <time in seconds> <Msg>
eg: !blockmgs <60> <Being ugly as hell>

Just type that into any chat window and it'll block the person for that amount of time and send them that message everytime he/she tries to talk to you.

Enjoy.

ps: There may be bugs I haven't tested it THAT much.


RE: [Release] Block someone for X seconds with Y message. by Eddie on 12-08-2006 at 11:37 AM

Simple script but, the block bit didnt work :\ but the message bit did...although when i first entered the text, when i entered 10 seconds, before i even hit enter i couldnt open a convo with them for 10 seconds, (they werent blocked) :S


RE: [Release] Block someone for X seconds with Y message. by mIRC Scripting on 12-08-2006 at 12:25 PM

Yeah, hes right, major bug - It does not block.

EDIT: It will remove them from your contact list once they try to send you a message.


EDIT 2: Can you make it so that when used, it will block the user, not remove them from the contacts list (Use the red circle with a slash) (\)


RE: [Release] Block someone for X seconds with Y message. by Deco on 12-08-2006 at 01:12 PM

I understood it different than you wanted..

What I did was keep the contact not blocked but block his messages with the script. Script will send them the same message and update the time till block is gone.

Bob: Hi
Me: You're blocked because I'm bad. This will last for 60 seconds.
Bob: Moron
Me: You'r blocked because I'm bad. This will last 58 seconds.

But if you just want someone blocked for a while I'll alter the script and send another version since I actually prefere the way I did.


RE: [Release] Block someone for X seconds with Y message. by Spunky on 12-08-2006 at 06:27 PM

All I need to do is make a date/time difference function and then it will work fully... (might steal it from Deco's version :refuck:)

It blocks and adds the information to the registry until they are unblocked


RE: [Release] Block someone for X seconds with Y message. by EBFL on 12-08-2006 at 06:34 PM

I still think This is the best message then blocker so far :grin:


RE: [Release] Block someone for X seconds with Y message. by Spunky on 12-08-2006 at 06:39 PM

quote:
Originally posted by EnglandBoyForLife.
I still think This is the best message then blocker so far

Put aside wht you "think" is the best blocker for one moment and look at what the original thread is asking for. Not a script that blocks if someone talks to you when busy, but a script that HE can block people using a / command for a specified (or not) time and reason.
RE: [Release] Block someone for X seconds with Y message. by EBFL on 12-08-2006 at 06:44 PM

quote:
Originally posted by SpunkyLoveMuff
Put aside wht you "think" is the best blocker for one moment and look at what the original thread is asking for. Not a script that blocks if someone talks to you when busy, but a script that HE can block people using a / command for a specified (or not) time and reason.
8-)
But this one you can alter the message and time aswell :P
Edit: apart from it doesnt use a / command
RE: [Release] Block someone for X seconds with Y message. by Spunky on 12-08-2006 at 06:45 PM

quote:
Originally posted by EnglandBoyForLife.
But this one you can alter the message and time aswell

quote:
Originally posted by SpunkyLoveMuff


Put aside wht you "think" is the best blocker for one moment and look at what the original thread is asking for. Not a script that blocks if someone talks to you when busy, but a script that HE can block people using a / command for a specified (or not) time and reason.

RE: [Release] Block someone for X seconds with Y message. by MicroWay on 12-08-2006 at 08:03 PM

May I suggest you something???
Why don't you change the "code" comand !blockmsg  to /blockmsg...
With the "/", Plus! will add it on the comands list
;)


RE: [Release] Block someone for X seconds with Y message. by CookieRevised on 12-08-2006 at 08:30 PM

quote:
Originally posted by MicroWay
With the "/", Plus! will add it on the comands list
Plus! wont... You need to program it that it does this.

However, indeed, change the "!" to "/". This is what people are used to for commands in Plus!.

RE: [Release] Block someone for X seconds with Y message. by MicroWay on 12-08-2006 at 08:34 PM

Didn't knew that... I thought it was only put the comand...
Sorry for ask, Cookie, but when do you add the comand /idle on your script Idle on Demand, you used a program too??


RE: [Release] Block someone for X seconds with Y message. by CookieRevised on 12-08-2006 at 08:37 PM

[OFF TOPIC]

quote:
Originally posted by MicroWay
Sorry for ask, Cookie, but when do you add the comand /idle on your script Idle on Demand, you used a program too??
the /idle command was available from the first release of that script. ;)

[/OFF TOPIC]
RE: [Release] Block someone for X seconds with Y message. by mIRC Scripting on 12-08-2006 at 09:06 PM

Cookie, don't suppose you could edit it to use /blockmsg and block and auto unblock