shithub: rc

ref: 4ceae83df9e48cf3a950365aaf6e31a49cf62cfe
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
}