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

Re: Perl scripting feature request



Decklin Foster scripsit:
>I would like to be able to do something like
>"IRC::command_with_channel".  We already have IRC::command_with_server
>and IRC::print_with_channel, so it seems like an obvious extension.
>There may be a way to do it in Perl that I can't see, but seems like
>it needs to added to perl.c. Unfortunately I have no knowledge of this
>XS stuff. Can anyone help me out?


I do not understant... IRC::command() is to be used to execute irc
command. Now, there is a lot of irc command containing a channel
parameter, but this is not alwais at the same place. For instance we
have 

/join <channel> and /part <channel> [reason]

but

/invite <nick> <channel>

Then may be what do you would like is something like
IRC::command_with_channel(<command>,<channel>) to be equivalent of
typing <command> in the window of channel <channel>...?

-- 
Leo Cacciari 
Dept. Informatique UFR Sciences et Techniques
Université de Pau


-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Leo Cacciari <leo.cacciari@univ-pau.fr>