mIRC Homepage
Posted By: nomer2007 how to use all scon join a channel - 07/11/07 08:33 AM
alias alljoin {

code here that joins all the scons i have connected

}

is that possible?
Posted By: Horstl Re: how to use all scon join a channel - 07/11/07 08:47 AM
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).

Posted By: nomer2007 Re: how to use all scon join a channel - 07/11/07 02:48 PM
thanks
Posted By: nomer2007 Re: how to use all scon join a channel - 07/11/07 03:43 PM
oh yeah how bout if scon 1 or the main nick isn't included on the scons i wanna join?
Posted By: Horstl Re: how to use all scon join a channel - 08/11/07 12:18 AM
I don't get it.. please clarify what you want the alias to do and/or give an example.
Posted By: nomer2007 Re: how to use all scon join a channel - 08/11/07 01:56 AM
;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
Posted By: Horstl Re: how to use all scon join a channel - 08/11/07 05:48 AM
Like this?
Code:
alias joinallx { scon -at1 if ( $!network != $$2) { join #$$1 }

/joinallx #channel ExcludedNetworksName
© mIRC Discussion Forums