shithub: rc

ref: 6df9312492956c6f8a9ac74a40e30a421d07430c
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
}