commit - b15a3128cdaa0f3f1a2013f45cb8dd71560b7cd4
commit + c62b325b973092b8ce0cf3e11d5e273c570c3379
blob - /dev/null
blob + 5de58945dcbd237991749bfa288156f3e452d889 (mode 755)
--- /dev/null
+++ bin/zncTest.pl
+#!/usr/bin/perl
+#
+
+use strict;
+use warnings;
+
+use lib qw(./lib);
+use IRCNOW::Database;
+
+use IRCNOW::IO::IRC;
+use IRCNOW::Acct;
+
+use IRCNOW::IO qw(:DEBUG);
+$verbosity=ALL;
+#my $dbase='/var/www/botnow/botnow.db';
+#debug(INFO, "Loading Database $dbase");
+#my $botnowDB = IRCNOW::Database->new(dbpath=>$dbase);
+
+use Data::Dumper;
+
+#my $acct=new IRCNOW::Acct();
+#print $acct->newpass() . "\n";
+
+my $irc = new IRCNOW::IO::IRC(
+ localnet => 'ircnow',
+ staff => 'izzyb',
+ nick => 'cliNow',
+ host => '127.0.0.1',
+ port => 1337,
+ pass => 'Secerate!pwd',
+ expires => 1800,
+ networks => 'ircnow',
+ chans => '#bottest',
+ teamchans => '',
+);
+
+
+
+$irc->{bots}->[0]->{actions} = [
+ 'privmsg *status :Traffic',
+ 'privmsg *status :listusers',
+ 'privmsg *controlpanel :listusers',
+ 'privmsg #bottest : ',
+];
+
+
+
+$irc->run();
+
blob - 8f38a942c8bcdc6e0d6284a5c170fd6e22f82e2a
blob + 419c632a0712d04cf232a732c16d45f3f4bbd529
Binary files lib/IRCNOW/IO/IRC.pm and lib/IRCNOW/IO/IRC.pm differ