#!/usr/bin/ruby #nwall, festival, client thingy #Ron Sweeney #/me shrugs #this is the first makins of a reet nwall bot. require "socket" if ARGV.length != 2 print "usage: ./nwallfestival.rb host port\n" s = TCPsocket.open(ARGV[0], ARGV[1]) g = $out f = File.open("/var/log/nwall.log", "r").each{|line| g = line} print g s.write "(SayText \"[#{g}]\")"