On 2003-11-07 06:18:32 -0800, Stephen Gill wrote:
> > 11:55:13 autolog_level = all -crap -clientcrap -ctcps
>
> Yep, I've already tried. Doesn't work :|.
of course not. remove the "-crap -clientcrap" from the line.
> I connect to _several_ different servers and I want to run the same
> copy and same config file for IRSSI. This doesn't work for me because I
> want to have this done from the CLI.
just to make that sure. you run x copies of irssi parallel? and connect
to different ircnets?
> > for autojoin use "/channel add -auto". e.g.:
> > '/channel add -auto #foobar IRCnet myleetchannelkey'
>
> This doesn't scale for me... I need an option that I can call from the
> CLI or some other convenient way.
hm? explain please!
> I dont think you understood the request... I don't want to change the
> target itself, only the source host and dest host send across in the
> USER line when connecting to IRC. I don't need this stored in the
> config - I want to change it dynamically via the CLI.
-h/--hostname on the cmdline/as parameter change your local source host.
e.g.
you have 2 interfaces
192.168.0.1
192.168.0.2
now you can run irssi with
irssi -h 192.168.0.1 -c irc.yourserver.com -n foobar
and a second connect with
irssi -h 192.168.0.2 -c irc.otherserver.com -n barfoo
for the autorun stuff. i dont think you can do that from the cmdline.
but inside irssi it would work quite fine:
/ircnet add -autosendcmd "msg devel praise you; msg god you suck" yours
/ircnet add -autosendcmd "msg mom im back; msg dad back to the front" others
/server add -ircnet yours irc.yourserver.com
/server add -ircnet others irc.otherserver.com
/channel add -auto #hell yours
/channel add -auto #home others
if you now run irssi with the 2 command lines from above, it will run
the autosend cmds for each network.
of course you can use file.pl to use a longer list of commands.
/ircnet add -autosendcmds "file -raw thisnet.txt" thisnet
just my pi cents
darix
--
irssi - the client of the smart and beautiful people
http://www.irssi.de/