User Control Panel
Advertisements

HELP US, HELP YOU!

Stats command...

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands
View unanswered posts
Author Message
..::BIGmouth( )::..
God Like
God Like


Joined: 05 Feb 2004
Posts: 801

Reputation: 44.1Reputation: 44.1Reputation: 44.1Reputation: 44.1

PostPosted: Wed Feb 25, 2004 10:13 pm    Post subject: Reply with quote

Code:
sub stats<br />{ <br />    my ($bot, $self, $user, $msg) = @_;<br /><br />    my $user_settings = $bot->{users}->{$user};<br />    my $msn = $bot->{msn};<br />    my $settings = $bot->{settings};<br />    my @bl_list = $bot->{'msn'}->getlist( 'BL' );<br />    my $bl_count = scalar @bl_list;<br />    my $bl_list = join( ',', @bl_list );<br />    my @al_list = $bot->{'msn'}->getlist( 'AL' );<br />    my $al_count = scalar @al_list;<br />    my $al_list = join( ',', @al_list );<br />    my @fl_list = $bot->{'msn'}->getlist( 'FL' );<br />    my $fl_count = scalar @fl_list;<br />    my $fl_list = join( ',', @fl_list );<br /><br /><br /><br />    return "Current users: $al_count<br />Administrator:administartor{at}hotmail.com<br />Local Time/date:" . localtime();   <br />} <br /><br />{<br />    Category    => 'Utilities',         <br />    Usage       => ['powers              <-- current users powers',<br />                    'powers <username>   <-- powers of some other user',],<br />    Description => 'Count the users!', <br />};


This stat command show's the local time and total users.
Your going to have to change the
Code:
administartor{at}hotmail.com

to your E-mail, Because, I don't know how to change it so you can have an @ sign..
Back to top
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Wed Feb 25, 2004 10:24 pm    Post subject: Reply with quote

just put a \ or / befor it........cant rember which 1
Back to top
..::BIGmouth( )::..
God Like
God Like


Joined: 05 Feb 2004
Posts: 801

Reputation: 44.1Reputation: 44.1Reputation: 44.1Reputation: 44.1

PostPosted: Wed Feb 25, 2004 10:41 pm    Post subject: Reply with quote

It's "\n" but i keep forgeting Very Happy so I, just enter it
Back to top
eric256
The Keymaker
The Keymaker


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

PostPosted: Thu Feb 26, 2004 12:37 am    Post subject: Reply with quote

Its \@ not \n.

If all you are using is the al part then you can get rid of the rest of the stuff you copied form someone elses post.

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands All times are GMT
Page 1 of 1

 



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