Changeset 361 for trollforge


Ignore:
Timestamp:
06/24/10 22:18:56 (3 years ago)
Author:
rucas
Message:

DEMOLISHED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trollforge/jenk/webchat.pl

    r329 r361  
    1212my $proxyfile = "proxies.txt"; 
    1313my $debug = 0; 
    14 our $channel = '#bls'; 
     14our $channel = '#freenode'; 
    1515our $troll = "AESOP EATS SHITS"; 
    16 our $random = 0;  #1 will use trolldb, 0 will use message above 
     16our $random = 1;  #1 will use trolldb, 0 will use message above 
    1717 
    1818my @proxies; 
     
    5959    print "...\n"; 
    6060 
    61     my $base = "http://webchat.freenode.net/dynamic/one"; 
     61    my $base = "http://webchat.freenode.net/dynamic/two"; 
    6262 
    6363    my $t = 0; 
     
    104104 
    105105    $post_req->('/e/n', nick => $nick); 
    106     $post_req->('/e/s'); # t=1 
    107106    $post_req->('/e/s'); # t=2 
    108107    $post_req->('/e/p', c => 'JOIN '.$channel); # t=3 
    109108    $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 
    113110    if($random==1) { 
    114111        $mech->get('http://rolloffle.churchburning.org/troll_me_text.php'); 
    115112        $troll=$mech->content( format => 'text' ); 
    116113    } 
    117     $post_req->('/e/p', c => 'PRIVMSG '.$channel.' :'.$troll); # t=8 
     114    $post_req->('/e/p', c => 'PRIVMSG '.$channel.' :A message from BIKCMP: '.$troll); # t=8 
    118115} 
    119116 
Note: See TracChangeset for help on using the changeset viewer.