mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 9
Z
ZnoRK Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Dec 2002
Posts: 9
The idea is an built in alias that sets a window active, taking perhaps the name of the window or number as a parameter, for example /winactive #chat or /winactive =ZnoRK
Reason: My script pops up dcc chats automaticaly and mirc sets it active, wich is annoying, but i think this alias could be very helpful to others as well.. please consider it


/\ |/| 0 >|
Joined: Dec 2002
Posts: 843
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
After a re-install, that happened to me until I realised I'd left the 'iconify query window' left unchecked in Options...now any queries or dcc chats are not set active until I click the window in the switch bar. Was that what you meant? smile


Never compare yourself to others - they're more screwed up than you think.
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
/window -a window


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 9
Z
ZnoRK Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Dec 2002
Posts: 9
Allright then, thanks for your help.
For some stupid reason I didn't thank that would work, and decided not to try. (how does one delete a topic : )


/\ |/| 0 >|
Joined: Dec 2002
Posts: 9
Z
ZnoRK Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Dec 2002
Posts: 9
Well when I see it in action I realize its far to slow, so my suggestion is to add some sort of an option that doesnt make the DCC active when opened:
var %active $active
dcc chat $nick
window -a %active
is too slow or inconvinient since it first pops up the window before returning. Heres another idea:
dcc chat -u $nick
where u might mean not activating it on open


/\ |/| 0 >|
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
As Poppy said:
  • File
  • Options (Alt-O)
  • IRC
  • [X] Iconify query window
This will force the query window to open minimized.

  • Iconify query window
    If someone sends you a query, the default is for the query window to open, ready for input. You can select this option to force mIRC to iconify the window preventing it from taking the focus from the window you are currently in.
As far as DCC Chat/FServe windows are concerned, you might try using on *:OPEN:=|!: to /window -n them. Perhaps something like:
Code:

on *:OPEN:=: window -n =$nick
on *:OPEN:!: window -n =$nick


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Joined: Dec 2002
Posts: 9
Z
ZnoRK Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Dec 2002
Posts: 9
the problem persists as it is in MY script that makes the window pop up, and therefor on open doesn't run, and iconify query isn't of help. I sincerely thank you though for your all-good replies. I still hope there is.. hope confused


/\ |/| 0 >|
Joined: Dec 2002
Posts: 9
Z
ZnoRK Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Dec 2002
Posts: 9
for less confusion i should perhaps add the code:

on *:text:#stuff:trigger:{
dcc chat $nick
window -n =$nick
}
on *:open:!:window -n =$nick
on *:open:=:window -n =$nick

options: iconify query [x]


The script pops the file server up for a split second, but I don't want that to happen. If the on open SHOULD work its not working here, with tests; "echo -a bla" not working either. I hope there is a way arround this, other than a dll or just accepting this. thanks again for all the help already


/\ |/| 0 >|

Link Copied to Clipboard