shithub: rc

ref: 03baa934bacdbf48e9e8e94711e6687e6bb1fb30
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
}