shithub: rc

ref: 7c063c346a361bca2e57e26e04e8fb48a05c8c7e
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
}