Browse files

nick_bump

  • Loading branch information...
1 parent 9b7f79f commit 021a7371f46724c7d5fe07907433b447913ff1cb @grickit committed Oct 13, 2012
Showing with 13 additions and 1 deletion.
  1. +10 −1 parsers/new_parser/jane.pl
  2. +3 −0 parsers/new_parser/plugins/basic/nick_bump.pm
View
11 parsers/new_parser/jane.pl
@@ -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 {
@@ -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
View
3 parsers/new_parser/plugins/basic/nick_bump.pm
@@ -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.