shithub: rc

ref: deda28504aef3df61fed73bfe89b0db875a46004
dir: /bin/wii/

View raw version
#!/bin/rc
while(){
	x=`{netstat -n | awk '$6 == 6697 && $4 == "Established"'}
	if(~ $#x 0)
		window -dx 162 -dy 64 \
			'wircrc -T -p 6697 -c ''irc.oftc.net!#cat-v'' -n qwx irc.oftc.net'
	sleep 300
}