User Control Panel
Advertisements

HELP US, HELP YOU!

Block Command...?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Thu Jan 01, 2004 6:10 pm    Post subject: Reply with quote

Thanx for the unblock! Very Happy

Quote:
P.S. How do I make it to where only the admin (me) can use the block & unblock command?


No idea, ask vorx. He knows
Back to top
Cheatsfp
Member
Member


Joined: 30 Dec 2003
Posts: 109

Reputation: 30.8Reputation: 30.8Reputation: 30.8

PostPosted: Thu Jan 01, 2004 6:15 pm    Post subject: Reply with quote

QUOTE(Micky G @ Jan 1 2004, 10:10 AM)
Thanx for the unblock!  Very Happy

Quote:
P.S. How do I make it to where only the admin (me) can use the block & unblock command?


No idea, ask vorx. He knows

Yeah, I am asking him right now...

Smile
Back to top
Sypher
Senior Member
Senior Member


Joined: 01 Jan 2004
Posts: 233
Location: The Netherlands
Reputation: 39.8Reputation: 39.8Reputation: 39.8Reputation: 39.8

PostPosted: Thu Jan 01, 2004 6:16 pm    Post subject: Reply with quote

Tnx for the working block/unblock, Cheatsfp Very Happy
_________________
Sypher
Developer of Codera
Back to top
Cheatsfp
Member
Member


Joined: 30 Dec 2003
Posts: 109

Reputation: 30.8Reputation: 30.8Reputation: 30.8

PostPosted: Thu Jan 01, 2004 6:17 pm    Post subject: Reply with quote

QUOTE(SyPhEr_ @ Jan 1 2004, 10:16 AM)
Tnx for the working block/unblock, Cheatsfp Very Happy

No problem, thank Micky G to, he helped on the Block command. I did the Unblock command, lol.

Smile
Back to top
Sypher
Senior Member
Senior Member


Joined: 01 Jan 2004
Posts: 233
Location: The Netherlands
Reputation: 39.8Reputation: 39.8Reputation: 39.8Reputation: 39.8

PostPosted: Thu Jan 01, 2004 6:18 pm    Post subject: Reply with quote

Well Thanks for both then Smile
_________________
Sypher
Developer of Codera
Back to top
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Thu Jan 01, 2004 6:18 pm    Post subject: Reply with quote

Well the Block and unblock are based on the invite code Very Happy So thanx for the invite code, who ever put it on here!
Back to top
Atomix
Young One
Young One


Joined: 24 Nov 2003
Posts: 67

Reputation: 31.2Reputation: 31.2Reputation: 31.2

PostPosted: Thu Jan 01, 2004 7:58 pm    Post subject: Reply with quote

*lazy*, I thought you had to put =N - Why though?
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Fri Jan 02, 2004 2:13 am    Post subject: Reply with quote

dont try to send messages to the protocol as you guys dont know enough about the protocol to know

Code:
sub unblock {<br /><br />if ($msg =~ /^\:unblock (.*)/i) {<br />$msn->send( "REM", "BL $1" );<br />$msn->send( "ADC", "AL N=$1" );<br />$self->sendmsg ("Unblocked\n");<br />return;<br /><br />}<br />}<br />1;


is for msnp10 and msn.pm v 1.3 is built to run both, thats why we added the block commands, so it wont break if microsoft decides to get back to msnp10 soon

so you can do this

$msn->block("email@hotmail.com");
$msn->unblock("email@hotmail.com");

or probably
$self->GetMaster->block(...); but im not sure on that one
Back to top
Cheatsfp
Member
Member


Joined: 30 Dec 2003
Posts: 109

Reputation: 30.8Reputation: 30.8Reputation: 30.8

PostPosted: Fri Jan 02, 2004 2:20 am    Post subject: Reply with quote

Okay, thanks for telling me about that.

And i'm guessing then that the block command code is fine?
Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group