alias alljoin {
code here that joins all the scons i have connected
}
is that possible?
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).
oh yeah how bout if scon 1 or the main nick isn't included on the scons i wanna join?
I don't get it.. please clarify what you want the alias to do and/or give an example.
;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
Like this?
alias joinallx { scon -at1 if ( $!network != $$2) { join #$$1 }
/joinallx #channel ExcludedNetworksName