|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
I would like an option to prevent multiple instances of mIRC opening when I click on the shortcut again. I'd prefer it would open the current mirc. With the multiserver support having many mIRC's open isn't even required, right?
-- Fornit Some Fornus
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,321 |
I sometimes run 3 or 4 different copies of mIRC for different things. They all run from separate directories, running their own scripts (or none at all). You wouldn't necessarily want a bot to be running from your chatting mIRC or the scripts that it runs might trigger in inappropriate places.
DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Perhaps this scripted solution will help you: on *:start:{
.ddeserver off
if $isdde($ddename) { exit }
else { .ddeserver on }
}
|
|
|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
Sure, you can do that, but I asked for an OPTION, so we could both be happy.
-- Fornit Some Fornus
|
|
|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
Nope....
- * /else: not connected to server - [14:30] * Connecting
-- Fornit Some Fornus
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Works here. you've probably pasted it into a single line, or some scripted events above interrupts it...
Try putting it in a new script file, and make sure it's structured exactly as it looks here.
|
|
|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
Ok, well, that shutsdown extra mircs, but what I really want is it to activate(pop up) the current running mirc.
-- Fornit Some Fornus
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Passing a showmirc -x command to the other mIRC via DDE will do the trick on *:start:{
.ddeserver off
if $isdde($ddename) {
[color:brown]dde $ddename command "" /showmirc -x[/color]
exit
}
else { .ddeserver on }
}
|
|
|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
Ok, a bit better, but basicly that does the same as the previous code when mIRC is minimized to the system tray. I'd like it to popup so I can see it...
-- Fornit Some Fornus
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
It worked here (win98se). try showmirc -r instead.
|
|
|
|
Joined: Jan 2003
Posts: 10
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 10 |
Ok, works now. I just had the ddeserver off... Thank you very much
-- Fornit Some Fornus
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Welcome
|
|
|
|
|
|