From 65b859120f0dc05662405548b970d81693003753 Mon Sep 17 00:00:00 2001 From: dgw Date: Mon, 21 Oct 2013 21:33:59 -0400 Subject: [PATCH] String tweaks Massage some of the automatic responses for grammar/aesthetics. --- znclinker.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/znclinker.pm b/znclinker.pm index 64c5110..69cf4cd 100755 --- a/znclinker.pm +++ b/znclinker.pm @@ -82,14 +82,14 @@ sub OnChanMsg { } unless $regexError; if (my ($to) = $what=~/^!q\s+(\S+)/) { - $self->put_chan($chan=>"$to, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you checked http://wiki.znc.in/FAQ before. You may want to read http://catb.org/~esr/faqs/smart-questions.html"); + $self->put_chan($chan=>"$to, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you have checked http://wiki.znc.in/FAQ first. You may want to read http://catb.org/~esr/faqs/smart-questions.html"); } if (my ($to) = $what=~/^!d\s+(\S+)/) { - $self->put_chan($chan=>"$to, when asking for help, be sure to provide as much details as possible. What did you try to do, how exactly did you try it (step by step), all error messages, znc version, etc. Without it, the only possible answer is '$to, you're doing something wrong.'"); + $self->put_chan($chan=>"$to, when asking for help, be sure to provide as many details as possible: What did you try to do, how exactly did you try it (step by step), all error messages, ZNC version, etc. Without details, the only possible answer is '$to, you're doing something wrong.'"); } if (my ($to) = $what=~/^!request(?:\s+(\S+))?/) { $to = $to // $nick; - $self->put_chan($chan=>"$to, ZNC is free software. Just install and use it. If you wanted free BNC account instead, go somewhere else. http://wiki.znc.in/Providers may be a good start."); + $self->put_chan($chan=>"$to, ZNC is free software. Just install and use it. If you wanted a free BNC account instead, go somewhere else. http://wiki.znc.in/Providers may be a good start."); } if ($what=~/^!win/) { $self->put_chan($chan=>'ZNC for Windows: http://code.google.com/p/znc-msvc/wiki/WikiStart?tm=6'); @@ -106,7 +106,7 @@ sub OnChanMsg { $self->put_chan($chan=>"http://wiki.znc.in/$q"); } if ($what=~/any(?:one|body)\s+(?:alive|around|awake|here|home|there)\s*(?:\?|$)/i) { - $self->put_chan($chan=>"Pointless question detected! $nick, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you checked http://wiki.znc.in/FAQ before. You may want to read http://catb.org/~esr/faqs/smart-questions.html Sorry if this is false alarm."); + $self->put_chan($chan=>"Pointless question detected! $nick, we are not telepaths, please ask a concrete question and wait for an answer. Be sure that you have checked http://wiki.znc.in/FAQ first. You may want to read http://catb.org/~esr/faqs/smart-questions.html Sorry if this is a false alarm."); } if (my ($issue) = $what=~m@(?:#|https://github.com/znc/znc/(?:issues|pull)/)(\d+)@) { $self->CreateSocket('znclinker::github', $issue, $self->GetNetwork, $chan);