Skip to content

Commit

Permalink
nick_bump
Browse files Browse the repository at this point in the history
  • Loading branch information
grickit committed Oct 13, 2012
1 parent 9b7f79f commit 021a737
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion parsers/new_parser/jane.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
$IRCParser::sl = '';
$IRCParser::cm = '.';

# Autojoin list
if($IRCParser::pipeID eq 'fork10') {
actOut('JOIN','##Gambot',undef);
}

sub on_server_ping {}
sub on_private_message {}
sub on_public_message {
Expand All @@ -51,7 +56,11 @@ sub on_public_message {
sub on_mode {}
sub on_nick {}
sub on_kick {}
sub on_server_message {}
sub on_server_message {

runPlugin("$FindBin::Bin/plugins/basic/nick_bump.pm");

}
sub on_server_error {}

# Fire the subroutine that is named in $event
Expand Down
3 changes: 3 additions & 0 deletions parsers/new_parser/plugins/basic/nick_bump.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if ($command eq '433') {
actOut('LITERAL',undef,'send_server_message>NICK '.$botName.'_');
}

0 comments on commit 021a737

Please sign in to comment.