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

Re: Perl scripting additions.



Leo Cacciari wrote:
> 
> Mike Guidero scripsit:
> >I'd like to see more work on the perl scripting interface.  In order to
> >hopefully fuel interest, I've done some additions myself.
> >
> >(Diffs coming your way soon, zed)
> >
> >My current additions include:
> >
Hmm... I'll need to look into this, but in any case, it's reliable if the
status quo changes.  I think it'll be useful, and at least more efficient.

It can't hurt, in any case :)

> >IRC::get_info(4)
> >       Returns the full pathname to the .xchat directory.
> >       Like /home/user/.xchat
> >       Useful for saving config data for your script.
> This I do not understand.... the xchat directory's name is harwired
> into the source of xchat, at least if I do understand the way
> g_get_home_dir() function works... In that case, the xchat dir is
> given by
> 
> $xchatdir = $ENV{'HOME'}.".xchat/";
> 
> That's the way I define it in my perl-scripts...
> 
> --
> 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>

-- 
Mike Guidero - http://mugwump.penguinpowered.com/~lshadow
*** All for one; one for all, except me above all. ***
PGP Public Key: http://mugwump.penguinpowered.com/~lshadow/pubkey.txt
Fingerprint   : DD87 C663 1767 B11F  1EDE D2AA 0DD1 89C6  56D7 109A
-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     Mike Guidero <kymermosst@penguinpowered.com>