in reply to how do i make a /kick $nick ... using Net::IRC
I haven't used (or installed) Net::IRC, but from looking at the source presented at http://www.speakeasy.org/~cgires/trading/Net/Connection.pm, I assume that
$self->kick($channel, $nickname, $reason);
should do the trick. For commands not directly supported by Net::IRC, the sl command prints a raw string directly to the server - but you'll have to build the string with the command and the quoted text yourself then.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how do i make a /kick $nick ... using Net::IRC
by mr2 (Friar) on Aug 10, 2002 at 12:22 UTC | |
by belkajm (Beadle) on Aug 10, 2002 at 14:16 UTC |