Changeset 120 for trunk/antimatter/tim/Scripts
- Timestamp:
- 06/02/08 13:31:02 (6 months ago)
- Files:
-
- trunk/antimatter/tim/Scripts/time-bot.plx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/antimatter/tim/Scripts/time-bot.plx
r116 r120 74 74 $channel = "#antimatter"; 75 75 } 76 if ($channel eq"#antimatter") {76 if ($channel ne "#antimatter") { 77 77 $channel = [ { channel => "#mainchannel" }]; 78 78 # password => 'PASS' … … 81 81 $channel = [ { channel => "$channel" } ]; 82 82 } 83 open(PASSWORD, "<./oldtim ebot")83 open(PASSWORD, "<./oldtimbot") 84 84 or die "unable to open password file: $!"; 85 85 my(%passwords); … … 105 105 die "Bad DateManip Version is $dmv" unless $dmv =~ /^bkuhn/; 106 106 107 $nick = ' tim' if not defined $nick;107 $nick = 'oldtimbot' if not defined $nick; 108 108 my $bot = Bot::BasicBot::Time->new(channels => $channel, 109 109 nick_password => $passwords{nick_password}, … … 116 116 username => "TimeTrack", 117 117 name => "SFLC Time Tracking Bot", 118 dbPath => '. /TimeDB'118 dbPath => '.' 119 119 ); 120 120