mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
alias alljoin {

code here that joins all the scons i have connected

}

is that possible?

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
This will (try to) join the specified channel on all "connected" server connections:
alias alljoin { scon -at1 join #$$1 }

example: /alljoin #alljoin

The -a switch performs the subsequent command at all connections (server windows), and the -t1 switch limits this to servers you are "actually" connected to (e.g. not disconnected).


Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
thanks

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
oh yeah how bout if scon 1 or the main nick isn't included on the scons i wanna join?

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
I don't get it.. please clarify what you want the alias to do and/or give an example.

Joined: Oct 2007
Posts: 92
N
Babel fish
OP Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
;joins all scons on the channel
alias alljoin { scon -at1 join #$$1 }

;how about if there scon1,scon2,scon3,scon4 etc.
;and i only want to join all scon except scon1

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Like this?
Code:
alias joinallx { scon -at1 if ( $!network != $$2) { join #$$1 }

/joinallx #channel ExcludedNetworksName


Link Copied to Clipboard