mIRC Homepage
Posted By: aalex a couple of "bugs" - 05/01/04 10:40 PM
/window [-abBcCdeEfg[N]hikl[N]mnoprRsvwxz] [-tN,..,N] [+bdeflLmnstx] <@name> [x y [w h]] [/command] [popup.txt] [font [size]] [iconfile [N]]

i want to minimize a chan, but
/window -n #abc
works fine, while
/window -n +abc
doesn't, because of the structure of /window
now i use
/window -n +a +abc
is this the only (not pleasant) way?

alex

ps. there are some problems with spaces,
a) if mirc is in c:\program files\mirc\, i can't use commands like /load because it takes as address only c:\program
b) i can't create strings with multiple spaces
Posted By: EVH Re: a couple of "bugs" - 05/01/04 10:46 PM
for your second problem .. enclose in quotes

Example
/load -rs "C:\Program Files\Scripts\filename.mrc"
Posted By: KingTomato Re: a couple of "bugs" - 06/01/04 12:10 AM
b) i can't create strings with multiple spaces

That comes wiht the background of the langauge. Your alternatives are to use a hard space (char 160) or to use binary variables which can hold consecutive spaces.
Posted By: theRat Re: a couple of "bugs" - 06/01/04 12:46 AM
b) i can't create strings with multiple spaces

I can, see:
set %string a b c d
there's three spaces in that grin

but what you probably were after is this:
set %string a $str($chr(32),30) b
there are many consecutive spaces in that

of course printing those on the screen is a bit harder task frown
Posted By: cold Re: a couple of "bugs" - 08/01/04 10:42 PM
I can't test "/window -n +abc" here, but try enclosing +abc in quotes:
/window -n "+abc"
© mIRC Discussion Forums