[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions





On Tue, 28 Mar 2000, Morten Brix Pedersen wrote:

> Hi, I have used X-Chat for some months now, but there are some features that I
> really miss from other IRC clients:
> 
> - I usually join a channel with a keyword everytime I connect to IRC, but I
>   can't write a keyword in "Channels" when joining a server.

If you type like "#linux secret" it should work, but not if you're
joining more channels.


> - Another thing, which is kinda the same, is that I can't automatically do
>   "msgs" to bots and stuff when I log on to the server, it's annoying to write
> like "/msg bot auth pass" everytime I log on to the server, it would be nice if
> there was a "Perform" like mIRC for Windows uses, where you just type in your
> commands, which will be executed when connecting to the server.

Write a script :)


> Well, thanks in advance, and thanks for a GREAT (the greatest for X?) IRC
> client :).
> 
> Morten.


---------------------

### register script
IRC::register("bot auth script", "0.1", "", "");

### define function to run when receiving 376 (end of motd) from server
IRC::add_message_handler("376", "endofmotd_handler");

sub endofmotd_handler
{
	IRC::command "/msg bot auth pass";
	return 0;
}

------------------

or something along those lines (I don't really know Perl).

-- 
Peter. <zed@linuxpower.org>

-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Peter <zed@linux.com>