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

Re: adding tab expansion for custom commands?



On Wed, Feb 27, 2002 at 04:22:57PM +0100, Bruno Boettcher wrote:
> i have a perl script  that adds a whole bunch of commands to xchat, i
> was wondering if there was a way to add those commands to the tab
> expansion mechanism of xchat, adding only the handler doesn't do this,
>   but having tab expansion would be really neat....
hmm, you could add this command under a different name and add a user 
command with that name, e.g. 
  IRC::add_command_handler("_mycmd", "some_sub"); 
and the user command 
  MYCMD -> _mycmd &2

hth,
	Hanno
-- 
Need "online" [x]chat help? /j #xchat on IRCNet ;-)
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/