User Control Panel
Advertisements
HELP US, HELP YOU!
Author
Message
..::BIGmouth( )::.. God Like Joined: 05 Feb 2004Posts: 801
Posted: Wed Feb 25, 2004 10:13 pm Post subject:
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 Joined: 09 Jan 2004Posts: 1731
Posted: Wed Feb 25, 2004 10:24 pm Post subject:
just put a \ or / befor it........cant rember which 1
Back to top
..::BIGmouth( )::.. God Like Joined: 05 Feb 2004Posts: 801
Posted: Wed Feb 25, 2004 10:41 pm Post subject:
It's "\n" but i keep forgeting so I, just enter it
Back to top
eric256 The Keymaker Joined: 03 May 2006Posts: 2292 Location: Colorado
Posted: Thu Feb 26, 2004 12:37 am Post subject:
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