mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Re: Changing my own text output [Re: KageNoOni] #210818 26/03/09 05:59 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You cannot stick multiple spaces and put control codes after-- that defeats the purpose of putting the control codes. The problem is mIRC converts any instance of multiple spaces to a single space

$chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(2)

is simply

$chr(32) $+ $chr(2)


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: Changing my own text output [Re: argv0] #210853 27/03/09 01:30 AM
Joined: Mar 2009
Posts: 74
K
KageNoOni Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
Ok, tested it just now, I guess you're right. Still, I'd prefer to do $+($chr(32),$chr(2),$chr(2)) so that the bold codes affect nothing at all. That method is one I'm already using in another code, though for a different reason.

Re: Changing my own text output [Re: Rand] #210881 28/03/09 12:15 AM
Joined: Feb 2007
Posts: 75
T
Trixar_za Offline
Babel fish
Offline
Babel fish
T
Joined: Feb 2007
Posts: 75
Actually, your right about spaces.dll, I use it in my Mudclient script to force support for multiple spaces in my custom windows smile

As for $chr(160), they're right, it's not a space characters and on some fonts (so far I've only seen this with Terminal), it shows up as a block. Personally, I haven't experienced it with any of the fonts I use, so I use it as a black characters with my scripts. Down to preference really.

Btw thanks for the undocumented identifiers, now I have something new to play with! laugh


GigIRC Network Admin
irc.gigirc.com
Page 2 of 2 1 2