mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
let me try to explain what i need

i have very large number of channels open (15+)
i would like to have them in groups of 6 chans i select to be shown at the same time tiled, with some alias i would switch it to group 2 or group 3, it would like to selcet groups with lets say alt+1 alt+2 or if not possible alt+f1 etc
thanks a lot smile

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
alias F1 mytile #help #mirc #php
alias F2 mytile #chatzone #funfactory
alias mytile {
var %i = 1
while $window(*,%i) {
var %w = $ifmatch, %i = %i + 1
window $iif($istok($1-,%w,32),-r,-n) $+(",%w,")
}
mdi -t
}

This code goes to the remote (ALT+R). The window names you pass to /mytile will be tiled across the screen, while others stay minimized.

Type /help aliases and read under Function Key Support for other keys that you can define (note: ALT is not supported).

Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
thanks a lot
the alt part is of no concern f1 and f2 works great too
but there is a small problem that i have
i am connected to multiple networks and this seems to affect windows, only windows from active network tile
is there a way to fix it ?
thanks again

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Yes. First, go to the Window menu, click on Options... and uncheck Group window by networks. Then, open the remote and change our script to this:

alias F1 mytile #help #mirc #php
alias F2 mytile #chatzone #funfactory
alias mytile scon -at1 _min $1- | mdi -t
alias -l _min {
var %i = 1
while $window(*,%i) {
var %w = $ifmatch, %i = %i + 1
window $iif($istok($1-,%w,32),-r,-n) $+(",%w,")
}
}

(Now you can specify window names from different networks)

Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
works like a charm
many thanks smile

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
You're welcome laugh

Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
hmm sorry to bring this old topic up but it suddenly stoped working, i was changing few things (not in this script tho) and now and i am getting this

_MIN Unknown command
-
_MIN Unknown command
-
_MIN Unknown command

tried restarting mirc (have 6.16 now but allways worked ok)
even copied script again from here to mirc and same confused

Joined: Mar 2004
Posts: 20
E
eger Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Mar 2004
Posts: 20
hmm i cleaned "aliases" section in mirc, looks like with my "scripting skills" some crap got into it and confused this script all works now smile


Link Copied to Clipboard