2 # Original by Andy Harrison,
3 # Rewrite by Decklin Foster,
4 # Available under the GPL.
9 use vars
qw(%opts $in_group);
11 getopts('s:', \%opts);
12 die "usage: $0 -s 'screen name' gaim.buddy\n" unless $opts{s};
27 my ($type, $args) = split ' ', $_, 2;
31 print " }\n" if ($in_group);
32 print qq( "$args" {\n);
34 } elsif ($type eq 'b') {
35 my ($buddy, $alias) = split /:/, $args;
36 print qq( "$buddy"\n);