User Control Panel
Advertisements

HELP US, HELP YOU!

Users
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
PiersR
Newbie
Newbie


Joined: 20 Dec 2003
Posts: 43

Reputation: 29.8Reputation: 29.8Reputation: 29.8

PostPosted: Tue Dec 30, 2003 11:09 pm    Post subject: Reply with quote

Erm its simple, In the most recent MSN.pm v.1.2.2 it syndicates how many users are on the bots allow list and saves it to a txt file.
IN MSN.PM:
Code:
<br /> elsif ($cmd eq 'SYN')<br />        {<br />            $self->{Lists}->{SYN}->{Total} = $data[3];<br />            $self->writelog( "SYN'd Successfully Total Contacts\: $data[3]\n\n" );<br /><br />    print "SYN'd Successfully Total Contacts\: $data[3]\n\n";<br /><br />    open (DATA, ">users.txt");<br />    print DATA $data[3];<br />    close(DATA);


then say you want to know how many users in a normal bot.pl youd have a command a bit like:
Code:
<br />open (FILE, "users.txt");<br />my @nousers = <FILE>;<br />close(FILE);<br />if ($msg =~ s/\!users//g) {<br />$self->sendmsg("@nousers have added me to there list!");<br />return;<br />}


that will probably not work in wiredbots, ive never used wiredbots so i wouldn't know. but there *lazy* are, try converting it
Back to top
Vorx
Senior Member
Senior Member


Joined: 21 Dec 2003
Posts: 152

Reputation: 32Reputation: 32Reputation: 32

PostPosted: Tue Dec 30, 2003 11:13 pm    Post subject: Reply with quote

Thanks Piers, I'll give it a go but i'm not optimistic about the results lol
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Wed Dec 31, 2003 2:07 am    Post subject: Reply with quote

I thought everyone knew I taught keenie everything he knows Wink
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
VIPER
Young One
Young One


Joined: 22 Nov 2003
Posts: 50

Reputation: 30.9Reputation: 30.9Reputation: 30.9

PostPosted: Wed Dec 31, 2003 2:48 am    Post subject: Reply with quote

is there one for clcools template??
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Wed Dec 31, 2003 9:28 am    Post subject: Reply with quote

wtf eric lol.

and viper its in MSN.PM, it doesnt matter which template you use
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol 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