Shoutbox

[REQUEST] Blocker with 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: [REQUEST] Blocker with message. (/showthread.php?tid=69224)

[REQUEST] Blocker with message. by mIRC Scripting on 12-06-2006 at 09:51 PM

I am looking for a script, which has an option to enter a block message, such as /block <message here>. However, I would prefer if I can have one that owkrs like /block <Time> <Reason> with a permanent block option.


RE: [REQUEST] Blocker with message. by Ezra on 12-06-2006 at 09:57 PM

can't you just tell them why you block them and then block them? :S


RE: RE: [REQUEST] Blocker with message. by mIRC Scripting on 12-06-2006 at 10:00 PM

quote:
Originally posted by Ezra
can't you just tell them why you block them and then block them? :S



That takes a long time for me, my message is long. Thats why I need this.
RE: [REQUEST] Blocker with message. by Deco on 12-06-2006 at 11:44 PM

Hey there

Here's what I did in the last half hour.

There are two limitations I was not in the mood of making a very user-friendly script so someone can pick this up and do the configuration thing. I just demonstrated how to do it with a simple and far from efficient script.

One of the limitations is you have to edit a txt file to add the contacts you want to block with a message. I'm sure someone can make the /block <person> <message> thing for you.

The other limitation is that you can't use "nicknames" for people in your contact list (and from this one you can't really escape..I might be able to do this with sniffing packets.. I'll give you a heads up tomorrow).

So if contacts don't have nicknames and if you have them in the text file.. it'll send them the message and close the window very quickly. I dont think you can actually stop the window from opening with only scripting. Maybe a plugin.

Make a file in c: named contacts.txt with the following structure:

[email]
Msg=[Msg you want sent to the person].

ex:

[bob@hotmail.com]
Msg=You're blocked because you're not SpunkyLoveMuff.
[John@msn.com]
Msg=You're blocked because you are a moron!!!. Please die.


The script with read that file and check if the person has any message set to him/her.

The path for the file has to be "c:\contacts.txt" . If you want you can change that in the script to something you prefer.

Hope this helps

Good luck!




RE: [REQUEST] Blocker with message. by Spunky on 12-07-2006 at 12:25 AM

quote:
Originally posted by Deco
Msg=You're blocked because you're not SpunkyLoveMuff.

So they should be!

PS: How did I get dragged into this? :p

@mIRC Scripting: Don't double post. If people want to help you they will need time to make examples and scripts (as Deco has done)

RE: [REQUEST] Blocker with message. by mIRC Scripting on 12-07-2006 at 03:24 AM

Just someone link me to a download.


RE: [REQUEST] Blocker with message. by Felu on 12-07-2006 at 09:48 AM

quote:
Originally posted by mIRC Scripting
Just someone link me to a download.
Download From Here or see two posts above yours [Image: msn_tongue.gif].
RE: [REQUEST] Blocker with message. by Deco on 12-07-2006 at 02:33 PM

Sorry Spunky I just needed an example and your read function was used ;)


RE: [REQUEST] Blocker with message. by mIRC Scripting on 12-07-2006 at 08:49 PM

Can you read? Thats nothing like I want.


RE: [REQUEST] Blocker with message. by Spunky on 12-07-2006 at 09:37 PM

quote:
Originally posted by mIRC Scripting
Can you read? Thats nothing like I want.

When someone has taken the time to reply to one of your messages, I suggest you act with a bit more respect than you're showing right now. I'm saying this for your own goosas people may start to dislike you and just not offer ANY help at all.

The script you suggested is fairly easy to make, however, people are all busy with individual projects right now (for some reason ;)) and would obviosuly rather work on those. Now, I COULD make this, but if I do, I'm going to take my time with it and I don't expect your messages to be quite so rude :p
RE: [REQUEST] Blocker with message. by Deco on 12-07-2006 at 09:38 PM

Can  you explain what you want ?

:)

Give us an example.


RE: [REQUEST] Blocker with message. by Spunky on 12-07-2006 at 09:43 PM

quote:
Originally posted by Deco
Give us an example.
Basically:

/block <time (guessing minutes)> <reason>

e.g.
/block 10 toast spamming

If I have it right of course
RE: [REQUEST] Blocker with message. by EBFL on 12-07-2006 at 09:47 PM

Probs one of the best auto blockers with message is This One


RE: [REQUEST] Blocker with message. by G00S3 on 12-20-2006 at 03:01 AM

nice, I'm gonna have a look at this, it might come in usefull...
I am creating a script that needs to search in a .txt file... but couldn't get it to work ... thx guys