Tea

Tea

Joined
Jun 14, 2009
Occupation
Game loser
Location
Scotland
Website
Interests
/server -m chat.peercommons.net -j #kicked || /server -m dropL.com -j #main

Activity Stream

Tea commented on a Page, Time Popup  -  Dec 20, 2009

Lol, something in the Perl section wouldn't go a miss.

 Respond  
Tea commented on a Page, Shitlist 2.8  -  Dec 20, 2009

Lol, imagine arguing over posts. What is love? Baby don't hurt me, don't hurt me, no more.

 Respond  
Tea commented on a Page, Auto Punctuation / Color / Acronym / + more  -  Jul 23, 2009

Too bad this isn't your script faggot. This is a ripped. Not form a script on here, but it isn't yours, why take credit for other peoples work? ;s

 Respond  
Tea commented on a Page, Perl IRC bot  -  Jul 07, 2009

Also you could do this:-

!/usr/bin/perl

use IO::Socket;
use warnings;
use strict;

$sock = IO::Socket::INET->new(
PeerAddr => 'server_here',
PeerPort => 6667,
Proto => 'tcp' ) or die "could not make the connection";

while($line = <$sock>){
print $line;
if($line =~ /(NOTICE AUTH).*(checking ident)/i){
print $sock "NICK nick_here\nHelpBot :just a bot\n";
last;
}
}

while($line = <$sock>){
print $line;

use next line if the server asks for a ping

if($line =~ /^PING/){
    print $sock "PONG :" . (split(/ :/, $line))[1];
}
if($line =~ /(376|422)/i){
    print $sock "NICKSERV :identify nick_password\n";
    last;
}

}

 Respond  
Tea commented on a Page, Perl IRC bot  -  Jul 07, 2009

You forgot

!/usr/bin/perl

use warnings;
use strict;

Don't wanna get into bad habits now ;)

 Respond  
Tea commented on a Page, oobi's bot 1.3  -  Jun 14, 2009

Phew, finally got on here. I like how you've went with your own unqiue side instead of what is more simple, as long as it works, right? The regular expressions used in it are =o
But really nice work for your first script man, 6/10 I'll vote when the days are up. The game also.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.