On Sun, 22 Dec 2002, BoBB wrote:
>Im looking for a command i can use in my script that will let me specify
>a server and a channel on that server to send a command to. something
>like
a) It's rather irssi-users-related question.
b) my $server = Irssi::server_find_tag("ircnet");
return unless $server;
my $channel = $server->channel_find("#TheChannel");
return unless $channel;
$channel->command("OP yournick");
Hope it helps.
s.
--
(0> Jakub Jankowski [url]: s.atn.pl "Nawet w Krainie Czarow
//\ shasta@IRCnet [rlu]: 174516 latwiej jest spotkac
V_/_ [EMAIL PROTECTED] [ekg]: 921514 Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D