[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing to xchat variables
On Thu, 2 Mar 2000, Leo Cacciari wrote:
> Hi,
> is it possible to access xchat variables, such as nickname1, in a
> perl script? I tried $nickname1 but it does not work...
To grab nickname in the current context, use IRC::get_info(1). If you're
looking for the nickname of the person who send a message, you'll have to
split apart the message and grab that information from teh string.
----------------------------------------------------------------
Dave Whiting (BaRReL) http://jacknife.spoon.org/~whiting/
Dalhousie University "...I'm right out of my mind,
Masters Computer Science and being human gets me down."
-
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/lists/
Posted By: Dave Whiting <whiting@jacknife.spoon.org>