Changeset 361 for trollforge
- Timestamp:
- 06/24/10 22:18:56 (3 years ago)
- File:
-
- 1 edited
-
trollforge/jenk/webchat.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/jenk/webchat.pl
r329 r361 12 12 my $proxyfile = "proxies.txt"; 13 13 my $debug = 0; 14 our $channel = '# bls';14 our $channel = '#freenode'; 15 15 our $troll = "AESOP EATS SHITS"; 16 our $random = 0; #1 will use trolldb, 0 will use message above16 our $random = 1; #1 will use trolldb, 0 will use message above 17 17 18 18 my @proxies; … … 59 59 print "...\n"; 60 60 61 my $base = "http://webchat.freenode.net/dynamic/ one";61 my $base = "http://webchat.freenode.net/dynamic/two"; 62 62 63 63 my $t = 0; … … 104 104 105 105 $post_req->('/e/n', nick => $nick); 106 $post_req->('/e/s'); # t=1107 106 $post_req->('/e/s'); # t=2 108 107 $post_req->('/e/p', c => 'JOIN '.$channel); # t=3 109 108 $post_req->('/e/s'); # t=4 110 $post_req->('/e/p', c => "NOTICE frigg :\001VERSION qwebirc v0.85, copyright (C) Chris Porter 2008-2009 -- Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8\001"); # t=5 111 $post_req->('/e/s'); # t=6 112 $post_req->('/e/s'); # t=7 109 $post_req->('/e/s'); # t=5 113 110 if($random==1) { 114 111 $mech->get('http://rolloffle.churchburning.org/troll_me_text.php'); 115 112 $troll=$mech->content( format => 'text' ); 116 113 } 117 $post_req->('/e/p', c => 'PRIVMSG '.$channel.' : '.$troll); # t=8114 $post_req->('/e/p', c => 'PRIVMSG '.$channel.' :A message from BIKCMP: '.$troll); # t=8 118 115 } 119 116
Note: See TracChangeset
for help on using the changeset viewer.
