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

Re: Followup #2: Need to create alias/script that affects scripts



On Sat, 2003-08-02 at 05:05, David Oftedal wrote:
> #Get the target nick's IP:
> my @info = IRC::user_info("$nick");
> $targetip = $info[1];
> 
> That's the code as it is now. It returns the host of the nick "absolon", 
> no matter what I do. I guess he's the first user alphabetically on the 
> channel. $nick is _not_ set to absolon.

For stuff like this, check the perl documentation (perl language, not
xchat-perl) for Data::Dumper and how to use it, as it is your bestest
buddy when exploring strange data structures.  You also might want to
have that code print out the value of $nick to be 100% certain you're
not having a blonde moment.

--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/