summaryrefslogtreecommitdiff
path: root/npc/functions/captcha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/captcha.txt')
-rw-r--r--npc/functions/captcha.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index 9b69ad422..30e8b3c7a 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -79,7 +79,7 @@ function script CaptchVal {
function script CaptchExample {
if (!CAPTCHA_TIME || getarg(0, false)) {
- dispbottom("##1TO REPLY TO CAPTCHAS: @capcha <numeric answer>##1");
+ dispbottom("##1TO REPLY TO CAPTCHAS: @captcha <numeric answer>##1");
dispbottom l("Example: Give the answer for the following: one+1");
dispbottom l("Reply: %s", b("@captcha 2"));
dispbottom b(l("This example will not be shown again."));
@@ -105,19 +105,19 @@ OnCall:
dispbottom l("CAPTCHA: An error happened, try again."); end;}
// Verify answer
- .@ans$ = implode(.@atcmd_parameters$, " ");
+ .@ans$ = implode(.@atcmd_parameters$, " ");
.@ans=atoi(.@ans$);
if (.@ans == CAPTCHA_ANSWER) {
CAPTCHA_OK=gettimetick(2)+.cooldown;
$@BOTCHECK_TARGET=0;
dispbottom any(
- l("captcha successful"),
- l("captcha ok"),
- l("correct"),
- l("understood"),
- l("not bad"),
- l("hmpf. That'll do."),
- l("a bit longer and I would have jailed you %%\\ "),
+ l("Captcha successful"),
+ l("Captcha ok"),
+ l("Correct"),
+ l("Understood"),
+ l("Not bad"),
+ l("Hmpf. That'll do."),
+ l("A bit longer and I would have jailed you %%\\ "),
l("%%\\ that'll do."),
l("%%N"));
dispbottom l("Remember: Players can also help enforcing no-AFK-bot rule!");
@@ -168,7 +168,7 @@ OnTimer5000:
// 2. Player must be jailed, and we continue
if (CAPTCHA_TIME < CAPTCHA_OK) {
atcommand("@jailfor 40mn "+strcharinfo(0));
- dispbottom l("You failed to reply captcha in time and was arrested for AFK Botting. You can use @jailtime to keep track of time left.");
+ dispbottom l("You failed to reply to the captcha in time and were arrested for AFK Botting. You can use @jailtime to keep track of time left.");
CAPTCHA_OK=CAPTCHA_TIME;
detachrid();
continue;
@@ -231,7 +231,7 @@ function captchaProbe {
// Timer expired? Ban hammer
if (CAPTCHA_TIME+.thr > gettimetick(2) && CAPTCHA_OK <= CAPTCHA_TIME) {
atcommand("@jailfor 30mn "+strcharinfo(0));
- dispbottom l("You failed to reply captcha in time and was arrested for AFK Botting. You can use @jailtime to keep track of time left.");
+ dispbottom l("You failed to reply to the captcha in time and were arrested for AFK Botting. You can use @jailtime to keep track of time left.");
CaptchExample(true);
$@BOTCHECK_TARGET=false;
CAPTCHA_OK=CAPTCHA_TIME;