Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: how do i make a /kick $nick ... using Net::IRC

by Corion (Patriarch)
on Aug 10, 2002 at 10:23 UTC ( [id://189166]=note: print w/replies, xml ) Need Help??

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, 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

    and how to get /whois $nick ?

    i haven't found it in example that comes with Net::IRC module

      well, by doing the same as Corion above and looking through the source (I haven't used or installed Net::IRC either), I would assume that
      should do the trick

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://189166]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-22 15:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found