+ # either full word or ends with a space, etc...
+ next unless ($msg =~ /^\Q$x\E[\$\s!.]/i);
+
+ &VERB("textcounters: $x matched for $who",2);
+ my $c = $chan || "PRIVATE";
+
+ my ($v,$t) = &dbGet("stats", "counter,time",
+ "nick=". &dbQuote($who)
+ ." AND type=".&dbQuote($x)
+ ." AND channel=".&dbQuote($c)
+ );