mIRC Home    About    Download    Register    News    Help

Print Thread
#66674 05/01/04 10:40 PM
Joined: Jan 2004
Posts: 1
A
aalex Offline OP
Mostly harmless
OP Offline
Mostly harmless
A
Joined: Jan 2004
Posts: 1
/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

#66675 05/01/04 10:46 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
for your second problem .. enclose in quotes

Example
/load -rs "C:\Program Files\Scripts\filename.mrc"

#66676 06/01/04 12:10 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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.


-KingTomato
#66677 06/01/04 12:46 AM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
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

Last edited by theRat; 06/01/04 12:48 AM.

Code:
//if ( khaled isgod ) echo yes | else echo no
#66678 08/01/04 10:42 PM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
I can't test "/window -n +abc" here, but try enclosing +abc in quotes:
/window -n "+abc"


* cold edits his posts 24/7

Link Copied to Clipboard