literal percent output against variables in user commands???

Discussion about XChat on Linux and other unix like systems.

literal percent outp

Postby uncajesse » 09 Feb 2008 06:46

Hi,

I want to run a command that does:
Code: Select all
/notice %[current_chan] text


and I'm trying to do it like this:
Code: Select all
notice %%%c &2
which *should* work, but the two percents which should be outputting a literal percent char, are not outputting anything at all. I think it's a bug in the parsing.

And I'm just wondering if anyone has a way around this bug, before it gets fixed, that doesn't involve writing a plugin for XChat. ;)

Thanks for any insight on the subject...
uncajesse
uncajesse
 
Posts: 2
Joined: 09 Feb 2008 06:42

Postby peterz » 25 Feb 2008 07:04

It's a bug, fixed in current CVS.
User avatar
peterz
 
Posts: 1007
Joined: 09 Jun 2004 13:51
Location: Australia

Postby uncajesse » 25 Feb 2008 11:50

Try as I may, I can't get the CVS to compile in MinGW or MSYS. I guess I'll just deal until a new stable release comes out.

P.S. MinGW doesn't even come with lib.exe... wth is that?? lame, eh? :P
uncajesse
 
Posts: 2
Joined: 09 Feb 2008 06:42


Return to XChat

Who is online

Users browsing this forum: No registered users and 1 guest