. "Instead of . you can use ! to get reply in pm or ~ to get reply in channel.");
}
+sub say
+ : Help(.say target message | sends message to target)
+ : Type(pm)
+ : ACL(irc_say)
+{
+ my ($self, $c, $msg) = @_;
+ my ($target,$message) = $msg =~ /^(\S+)\s+(.+)$/ or die 'ARGS';
+
+ $c->message(privmsg => $target => $message );
+}
+
+sub cmd
+ : Help(.run command args | run a given command)
+ : Type(pm)
+ : ACL(irc_cmd)
+{
+ my ($self, $c, $msg) = @_;
+
+ $c->command(split /\s/, $msg);
+}
+
1;