mIRC Home    About    Download    Register    News    Help

Print Thread
Help: put channel on desktop 'on join'? #102466 09/11/04 11:11 AM
Joined: Nov 2004
Posts: 2
A
Anisette Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Nov 2004
Posts: 2
This is probably pretty easy, but I can't seem to figure it...

Basically, I want my CHANNEL to be put onto the desktop when somebody JOINS.

I tried the -d command, but it didn't seem to work.

Any help would be great, thanks!

Re: Help: put channel on desktop 'on join'? #102467 09/11/04 11:45 AM
Joined: Aug 2003
Posts: 314
S
Sigh Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Look under mIRC options > Display > Options > click the Windows button and check the windows that you want to be opened on the desktop

Re: Help: put channel on desktop 'on join'? #102468 09/11/04 11:49 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Another method, for selected windows: right-click the window's switchbar button and select "Desktop". Right-click again and select "Position > Save".

Re: Help: put channel on desktop 'on join'? #102469 09/11/04 11:52 AM
Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
Try this...

Code:
on *:join:#channelname: {
  window -dr #channelname
}   


replace #channelname with your channel. The -d will set it as desktop and -r will restore it if it is minimized.

Last edited by Naz; 09/11/04 11:55 AM.

Those who live by the sword get shot by those who don't.
Re: Help: put channel on desktop 'on join'? #102470 09/11/04 12:02 PM
Joined: Nov 2004
Posts: 2
A
Anisette Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
A
Joined: Nov 2004
Posts: 2
I only want the channel to switch to the desktop when someone joins. I don't want it on the desktop ALL the time.
When the channel is empty I will take if OFF the desktop manually.

NAZ:

Your code doesn't seem to work:(

Last edited by Anisette; 09/11/04 12:03 PM.
Re: Help: put channel on desktop 'on join'? #102471 09/11/04 01:08 PM
Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
Hmm, I messed up by trying it on a window that was already set as desktop. blush The -d switch only seems to work at the time a window is created.

I'm guessing you want to be alerted when somebody joins your channel. If so, maybe an echo alert would serve that purpose or a small dialog popup. The showmirc command could be useful if mirc itself might be minimized also.


Those who live by the sword get shot by those who don't.
Re: Help: put channel on desktop 'on join'? #102472 10/11/04 09:50 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
You could use the right-click the window's switchbar button and select "Desktop". Right-click again and select "Position > Save". now its on the desktop, but swicth it off the desktop or what ever, but dont save it.

Now you could use this sequence but well need to check if someone is already in the channel so it only does it if there the first join, the check needs to be either 1 or 2, one being just you in the chanel, but it might be 2 if its already added this new person, so try 1 put if it doesnt work try 2.

The idea is when someone joins and your the only current ONE in channel ( or now theres only TWO of you ), you actualy leave the channel close the window, and rejoin the channel, this well cause the desktop setting to be applied, but well clear the channel, you can add code to cacth the channel contents and restore it if thats important i guess.

on *:join:#channelname: {
if ($nick(#channelname,0) == 1) {
part #channelname
window -c #channelname
timer 1 1 join #channelname
}
}