mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2005
Posts: 9
X
Xuxa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Jan 2005
Posts: 9
On one particular channel I frequent I open the channel on the desktop and then minimize mIRC to the tray.

Is there any command I can add to an on join script that will minimize mIRC when the channel is joined?

Thanks!

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
/join -n #Channel

The -n switch minimizes the channel when you join.

-Andy

Joined: Jan 2005
Posts: 9
X
Xuxa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Jan 2005
Posts: 9
Thanks for the reply but I think you misunderstood what I want to do; sorry if I wasn't clear enough.

When I join the channel I have the channel window maximized on the desktop and then I minimize the rest of mIRC to the tray.

I want to write a script that when I join the channel (which is set to open maximized on the desktop) the rest of mIRC will automatically minimize to the tray (leaving the maximized channel window visible).

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
On me:*:Join:#Channel: { showmirc -t }


Do you mean this?

-Andy

Joined: Jan 2005
Posts: 9
X
Xuxa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Jan 2005
Posts: 9
Yes! That's exactly what I want to do! Thank you!

Unfortunately it doesn't seem to work. If I type /showmirc -t in a window it works fine but it doesn't want to work from a script.

However, I tried it on a default install of mIRC and it worked fine so I guess one of my other scripts must be messing it up somehow.

I guess I have some debugging to do frown

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You probably have some other On Join events triggering when you join which is probably what is throwing it off. frown

-Andy

Joined: Jan 2005
Posts: 9
X
Xuxa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Jan 2005
Posts: 9
That's undoubtedly it, but I got up early today, had a long bad day at work and then a few too many drinks after work so I think I'll tackle this with a fresh mind tomorrow.

Thanks again!


Link Copied to Clipboard