πbot

von Heinz persönlich, 2001-2004

#mdollar2

08.23.04/21:34:16

Events from irc.gnu.org:6667/#mdollar2

3.4 ticks/min = 204.0 ticks/h ≡ 17.6 s/tick = 0.3 min/tick
List of channels monitored
From/To @   Text
iblechbot
I'm a *private* logbot. http://xrl.us/cst7
~iblechbot@102.9-dial.augustakom.net
#pro-linux, ##linux, #phlak, #bash, #kde, #linux.de, #vim, #de.wikipedia, #gentoo, #mdollar2, #python, #poe, #icewm, #gnu, #ruby-lang, #derc.wikipedia, #perl, #commits, #emacs, #goneme
Umode: G
20:07 > JOIN



Umode:
20:07 * NAMES: [3] @estel iblech iblechbot
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:10 einfache frage am rande:
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:10 wie schreibe ich eine einfache nachricht ^^
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:10 per bot?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:10 klar
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:10 tippen kann ich selber ^^
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 POE::Kernel->post("botalias", privmsg => "iblech", "hi") oder
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 POE::Kernel->post("botalias", notice => "iblech", "hi")
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 antworten sollten *immer* NOTICEs sein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 um endlosschleifen zu vermeiden
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 steht im RFC drin
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:11 und auf NOTICEs darf man *nie* antworten
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:12 sonst gäbs theoretisch endlosschleifen zw. zwei bots
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:12 * NOTICE: das ist eine notice
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:12 nein, aber das sind doch privmsgs; ich will ja was in einen channel posten
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:13 * estel is back
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:13 ja
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:13 PRIVMSG ist auch channel
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:13 POE::Kernel->post("botalias", privmsg => "#mdollar2", "hi")
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:14 ah, k
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:16 bin etwas langsam, muss apple verspeissen ^^
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:17 btw, wann kann ich eigentlich wieder connecten?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:18 kommt drauf an
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:18 hängt von freenode ab
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:18 nimm einfach nen anderen server in der zwischenzeit
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:20 ich hoere hier polkamon !?!
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: G@
20:20 ist es viel arbeit einen eigenen irc server aufzusetzen?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:20 ne
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
20:21 arg, unterhalte dich mit einem gentoo menschen /nie/ ueber softwareinstallation
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
20:21 wie heisst der server?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:21 ircd
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
20:21 da haette man auch draufkommen koennen ;-)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:22 ^^



Umode:
20:23 * NAMES: [3] @estel iblech iblechbot
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:24 mein bot ist einfach nicht gespraechig ;-)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:27 ;)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:31 gib mal code her, am besten in icq, weil du dich sonst wegfloodest (in irc)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:31 hmm, ist schlimm
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:31 den kann man nicht lesen
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:31 ;-)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:31 von den einrueckungen
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:31 arg
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:31 :set ai ts=8 sw=2 softtabstops=1 smarttab
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:31 dann rueckt er automatisch ein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:32 oder perltidy perl.pl ==> perl.pl.tdy
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:32 musst nur tab druecken und er rückt zwei zeichen ein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:32 und backspace oder ^D rueckt wieder aus
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:32 http://estel.dyndns.org/bot.txt
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:32 ausserdem gibt es ein problem mit dem flag channel
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:33 also --channel name mag er nicht :-/
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:33 erstmal: der server ist irc.gnu.org, nicht gnu.irc.org
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:33 dann: du hast \ vor $channel vergessen (zeile 15)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:34 POE::Kernel->post(bot => "join", "#".$channel) ? warn "$nick betritt $channel" : warn "$nick konnte $channel nicht betreten: $!";
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:34 geht so nicht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:34 post() returned immer true (es sei denn, es gibt die session "bot" nicht)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:34 du musst anders checken, ob er joinen konnte
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:34 mittels irc_join-event
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:35 wenn du den kriegst, musst noch schauen, ob der nick, der gejoined hat, du bist -- wenn ja, bist du drin
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:35 k
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:35 http://perlmonks.org/index.pl?node_id=384020 das koennte dich interessieren
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:36 der rest sieht ganz ok aus
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:36 bis halt aufs indenting -- du machst dir selbst und anderen leuten schwer, deinen code zu lesen
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:36 ja
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:36 ino
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:36 aber mein bot sollte doch antworten
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:37 http://m19s28.vlinux.de/iblech/datel.txt
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:37 teste doch mal, was $1 zu diesem zeitpunkt ist
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:37 ah, habs schon
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:38 du hast den event irc_msg nicht registered, bei PoCo::IRC
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:38 POE::Kernel->post( bot => "register", qw( 376 public ) );
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:38 POE::Kernel->post( bot => "register", qw( 376 public msg ) );
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:38 mit letzterem gehts
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:39 http://perlmonks.org/index.pl?node_id=384020 -- Wenn du das anstelle von PoCo::IRC nutzt, dann kennt der Bot seinen Nicknamen und die Channels in denen er ist. Außerdem PINGt er den Server, wenn er für ne zeit lang keinen Traffic mehr gesehen hat (damit du merkst, dass die conn down ist)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:39 kannst du genauso verwenden wie PoCo::IRC
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:40 nur halt POE::Component::IRC::Tracking
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:40 mach ich, sobald der bot antwortet
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:41 gut. Und, ein weiteres Feature: wenn der nick belegt ist, probiert er nick_, _nick, _nick_ etc, solange, bis einer passt
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:41 ja, das ist praktisch
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:41 aber dennoch
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:41 mein bot antwortet noch nichtmal ^
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:41 +^
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:41 hast du msg zu POE::Kernel->post( bot => "register", qw( 376 public ) ) hinzugefügt?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:42 und: wenn ja, mach doch vor POE::Kernel->post( "bot", privmsg => $1, "teh_wusch" ) folgendes rein: warn "[$1]"
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:42 dann siehst du, an wen er schickt
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:43 und diese zwei zeilen: warn "$nick betritt $channel" und warn "$nick konnte $channel nicht betreten: $!" ersatzlos löschen, sie haben sowieso keine funktion
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:44 ja
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:44 also, er warned ueberhaupt nicht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:44 mach direkt nach: irc_msg => sub { ein die
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:45 und bei msg musst du ihn direkt (also im query) ansprechen, nicht per channel
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 das waqr mir klar
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:45 und: 20:41 < iblech> hast du msg zu POE::Kernel->post( bot => "register", qw( 376 public ) ) hinzugefügt?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 aber er stirbt nicht
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 irc_msg => sub {
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 die();
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 my ( $nickmask, $dest, $text ) = @_[ ARG0, ARG1, ARG2 ];
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 $nickmask =~ /^([^!]+)/ or return;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 warn([$1]);
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 POE::Kernel->post( "bot" => "register", qw( 376 public msg ) );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 POE::Kernel->post( "bot", privmsg => $1, "teh_wusch" )
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 #warn "@$dest: <$nickname> $text\n";
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:45 },
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:46 warn "[$1]", nicht warn [$1], das sind zwei verschiedene dinge
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:46 vermutung:
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:46 der bot kommt gar nicht rein, weil datel schon belegt ist (aber du hast den bot z.B. mit strg+c beendet, und der server denkt noch, es gäb den bot noch)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:46 () gibt halt noch lines mit
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:47 ändere mal den nick
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:47 ne, die klammern sind rein optional
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:47 warn "[$1]" und warn("[$1]") machen genau das selbe
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:47 oder nutzt gleich PoCo::IRC::Tracking, dann kommt er auf jeden fall rein
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:47 hab ich
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:48 nick aendern nutzt nichts
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:49 wie binde ich dein modul ein?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:49 du bist dir sicher, dass du 20:45 < iblech> und: 20:41 < iblech> hast du msg zu POE::Kernel->post( bot => "register", qw( 376 public ) ) hinzugefügt?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:49 erstmal lädst dus runter
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:49 hab ich
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:49 dann: mkdir -p POE/Component/IRC; cp modul.txt POE/Component/IRC/Tracking.pm
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:50 dann: ändere alle vorkommen von Component::IRC in Component::IRC::Tracking in deinem code
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:50 fertig
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
20:52 hmm, muss ich nicht @INC aendern? immerhin sucht er nicht im aktuellen verzeichnis danach



Umode:
20:53 * NAMES: [3] @estel iblech iblechbot
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:53 echo "export PERL5LIB=." >> /etc/profile; . /etc/profile
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:53 ja, entweder so wie eine zeile rüber, oder:
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:53 BEGIN { unshift @INC, "." }
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:53 diese zeile müsste vor dem entscheidenen use kommen
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 arg
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 BEGIN { unshift @INC, "." };
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 use warnings;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 use strict;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 use Getopt::Long;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 use POE qw ( Component::Tracking );
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:54 genau
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:54 ne
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:54 Component::IRC::Tracking
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:54 eher letzteres
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:54 statt Component::Tracking
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 nein
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 BEGIN { unshift @INC, "." };
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 use warnings;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 use strict;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 use Getopt::Long;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 use POE qw ( Component::IRC::Tracking );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 =< falsch
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:55 doch, ich kenne den package-namen meines moduls ;)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:55 ls -l POE/Component/IRC/Tracking.pm
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:55 ich wiess, dass es da ist
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:56 aber es wird eben nicht gefunden
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:56 aber auch mit dieser ordnerstruktur?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:56 die ist entscheidend
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:56 sonst gehts nicht
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:56 mom
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:56 Can't locate POE/Component/Tracking.pm in @INC
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:56 so, hatte doch recht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:57 ls -l POE/Component/IRC/Tracking.pm
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:57 linux:/home/estel/Desktop/bot # ls -l POE/Component/IRC/Tracking.pm
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:57 -rw-r--r-- 1 root root 8632 2004-08-23 20:57 POE/Component/IRC/Tracking.pm
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
20:57 er findet es, aber perl findet es nicht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
20:58 PERL5LIB=. ./bot.pl
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 ?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:01 ja?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:01 führ aus
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:01 PERL5LIB=. ./bot.pl
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 inux:/home/estel/Desktop/bot # PERL5LIB=. ./bot.pl
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 Array found where operator expected at POE/Component/IRC/Tracking.pm line 68, at end of line
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 syntax error at POE/Component/IRC/Tracking.pm line 62, near "sub _parseline "
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 Can't use global @_ in "my" at POE/Component/IRC/Tracking.pm line 63, near "= $_"
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 syntax error at POE/Component/IRC/Tracking.pm line 68, near "a@thestars"
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:01 Global symbol "@thestars" requires explicit package name at POE/Component/IRC/Tracking.pm line 68.
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:02 Compilation failed in require at (eval 83) line 1.
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:02 BEGIN failed--compilation aborted at (eval 83) line 1.
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:02 could not import qw(Component::IRC::Tracking) at ./bot.pl line 8
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:02 BEGIN failed--compilation aborted at ./bot.pl line 8.
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:02 du hast nicht auf d/l code geklickt
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:02 bei http://perlmonks.org/index.pl?node_id=384020
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:02 sonst kommen zeilenumbrüche rein, die eigentl. nicht da sein sollten
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:04 klickste hier: http://perlmonks.org/index.pl?node_id=384020&displaytype=displaycode
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:05 lange hats gedauert
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:05 war ne mischung aus: nicht dl und falschen rechten
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:06 aber sprechen kann er trotzdem noch nicht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:08 zeig mit die zeile, wo du die events bei PoCo::IRC registerst
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:08 (und hast du das PoCo::IRC->new durch PoCo::IRC::Tracking->new ersetzt?)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:08 also POE::Kernel->post(bot => register, qw(...))
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 use POE qw ( Component::IRC::Tracking );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 irc_msg => sub {
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 die();
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 my ( $nickmask, $dest, $text ) = @_[ ARG0, ARG1, ARG2 ];
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 $nickmask =~ /^([^!]+)/ or return;
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 warn([$1]);
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 POE::Kernel->post( "bot" => "register", qw( 376 public msg ) );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 POE::Kernel->post( "bot", privmsg => $1, "teh_wusch" );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 #warn "@$dest: <$nickname> $text\n";
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 },
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:09 (und hast du das PoCo::IRC->new durch PoCo::IRC::Tracking->new ersetzt?)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:09 und zeig: POE::Kernel->post(bot => register, qw(...))
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 POE::Kernel->post( "bot" => "register", qw( 376 public msg ) );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:09 POE::Kernel->post( "bot", privmsg => $1, "teh_wusch" );
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:10 und das warn()-statement nützt dir so *gar* nix, weil er dir immer was anzeigt
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:10 ok, das ist gut
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:10 und hast du das PoCo::IRC->new durch PoCo::IRC::Tracking->new ersetzt?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:10 er zeigt dir dann nämlich immer an: "ARRAY(0xDEADBEEF)"
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 er zeigt keine warnung
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 das ist ja der gag
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:11 21:10 < iblech> und hast du das PoCo::IRC->new durch PoCo::IRC::Tracking->new ersetzt?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 er sollte ja die()n
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 tut er aber nicht
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 use POE qw ( Component::IRC::Tracking );
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 da
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 ^
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:11 |
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:11 ja, trotzdem ist das warn falsch. richtig: warn "[$1]", oder, wenn du auf klammern stehst, warn("[$1]")
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:12 lies mal meine zeile genau
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:12 und hast du das PoCo::IRC->new durch PoCo::IRC::Tracking->new ersetzt?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:12 da steht nix von use
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:12 da steht was von use
Geert
Geert Hauwaerts
geert@geert.staff.freenode
##linux, #kde, #gentoo, #mdollar2, #python, #perl
Umode: H
21:12 > JOIN
Geert
Geert Hauwaerts
geert@geert.staff.freenode
##linux, #kde, #gentoo, #mdollar2, #python, #perl
Umode: H
21:12 < PART: "http://www.irssi.org - http://www.freenode.net - http://www.gentoo.org"
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:13 lol?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:13 was ist an der zeile auszusetzen?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:13 use blabla Tracking.pm
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:13 stimmt ja
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:13 aber die meine ich ja gar nicht
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:13 ich meine die zeile, wo du folgendes machst: PoCo::IRC::Tracking->new("bot_alias")
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:14 jetzt schon
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:14 da hast du evtl. noch das ::Tracking vergessen
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:14 aber trotzdem spricht er noch nicht ;-)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:14 lad nochmal das ganze skript hoch
botel

~root@80.81.19.183
#mdollar2
Umode:
21:15 > JOIN
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:15 also das war grad ein zufall ^^
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:15 ^^
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:15 O.O du codest als root O.O
botel

~root@80.81.19.183
#mdollar2
Umode:
21:15 < QUIT: Remote closed the connection
botel

~estel@80.81.19.183
#mdollar2
Umode:
21:16 > JOIN
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:16 normallerweise nicht
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:16 http://estel.dyndns.org/bot.txt
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 fehler gefunden
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 ich hab tausendmal drauf hingewiesen
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 POE::Kernel->post( bot => "register", qw( 376 public ) );
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 was ist daran falsch...
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 genau: du hast msg vergessen
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:17 richtig:
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:18 POE::Kernel->post( bot => "register", qw( 376 public msg ) );
botel

~estel@80.81.19.183
#mdollar2
Umode:
21:18 < QUIT: Remote closed the connection
Geert2

~estel@80.81.19.183
#mdollar2
Umode:
21:18 > JOIN
Geert2

~estel@80.81.19.183
#mdollar2
Umode:
21:18 < QUIT: Remote closed the connection
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:18 na also :)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:19 ok, dann nur noch die raussnehmen
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:19 und irgendwann erklärst du mir, wieso nicht das machst, was ich mind. vier mal gesagt hab ;)
Geert2

~estel@80.81.19.183
#mdollar2
Umode:
21:19 > JOIN
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:19 es kann sprechen
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:20 jo
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:20 :)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
21:20 ok, dann hab ich nur noch ein problem
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
21:21 1. was bedeutet 376?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:21 End of MOTD
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:22 das sendet der Server, wenn du eingeloggt bist
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:22 das ist ein irc code
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:22 erst dann kannst du joinen etc
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H
21:22 und dass muss ich vor jeder public msg schicken?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:23 376 *erhältst* du, nicht du musst es schicken



Umode:
21:23 * NAMES: [4] @estel Geert2 iblech iblechbot
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:23 sobald du 376 erhalten hast, kannst du in channels joinen und antworten und sprechen etc
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:23 POE::Kernel->post( "bot" => "register", qw( 376 public msg ) ); # was macht dann diese zeile?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:23 btw verstösst du gegen den IRC-RFC: Antworten müssen *immer* NOTICEs sein, keine PRIVMSGs. **IMMER**
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:23 der registriert die events, die PoCo::IRC dir schicken soll
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:24 in dem fall schickt dir PoCo::IRC also die events irc_376, irc_public und irc_msg
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:24 welche events bitte?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:24 was sind notices?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:25 wahhhh
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:25 NOTICEs sind wie PRIVMSGs, nur dass sie endlosschleifen vermeiden
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:25 ändere einfach POE::Kernel->post(bot => privmsg, ...) in: POE::Kernel->post(bot => notice, ...)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:25 privmsgs->notives->privmsgs usw?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:25 * NOTICE: das hier ist ne notice
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:26 also antworten von bots *müssen* immer NOTICEs sein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:26 antworten von menschen können auch PRIVMSGs sein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:26 aber bots müssen ***immer*** NOTICEs senden
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:26 das heisst: ich(privmsg), du(notive), du(privmsg)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:26 NOTICE heisst das ding, nicht NOTIVE
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:27 ich weiss
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:27 aber V und C liegen nebeneinander
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:27 wenn wir menschen sind, dann: müssen wir alle PRIVMSGs senden. aber wenn ich ein bot bin, und dir antworte, dann muss es ne NOTICE sein
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:27 wir unterhalten uns grad über PRIVMSGs
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:27 beispiel:
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:28 du(mensch) schickst Geert2(bot) ne PRIVMSG: "AUTH mein_passwort". dann schickt Geert2 dir eine NOTICE mit (z.B.): "OK Logged in"
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:28 aber Geert2 darf dir nicht mit einer PRIVMSG antworten
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:28 laut RFC
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:29 * estel glaubt es verstanden zu haben
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:30 ;)
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:30 so ne /me msg wird BTW so veschickt: PRIVMSG destionation :\x01ACTION glaubt es verstanden zu haben\x01, wobei \x01 chr(1) ist
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:31 gut
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:32 und was ist ein channel und was ist ein "fluester raum"?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:32 fluester raum?
iblech
Ingo Blechschmidt
~iblech@102.9-dial.augustakom.net
#mdollar2
Umode: H
21:32 und du weisst, was nen channel ist ;)
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:33 public msg
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:33 ist?
estel
sirc user
~estel@80.81.19.183
#pro-linux, #mdollar2
Umode: H@
21:34 dann halt so...