#!/usr/bin/perl # sayit cli interface # @author bibby print "Say to whom? (#channels or nicks, comma separated)\n"; $who = ; @who = split(',',$who); print "What is you message?\n"; $what = ; foreach $name (@who) { $name =~ s/\s//g; open(MSG, ">>sayit/$name") or die("cannot open >sayit/\$name"); print MSG $what; } print "\tsaid.\n";