This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
-Captcha.sk
62 lines (53 loc) · 1.78 KB
/
-Captcha.sk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#---------------CAPTCHA START----------------#
on join:
wait 2 seconds
set {cp.%player%} to true
set {bot.%player%} to true
wait 2 seconds
send "&b&lFish&5&lFisher &e&l>> &cTo be sure you are not a bot , what is 18+4 ?"
send "&b&lFish&5&lFisher &e&l>> &cTo be sure you are not a bot , what is 18+4 ?"
send "&b&lFish&5&lFisher &e&l>> &cTo be sure you are not a bot , what is 18+4 ?"
wait 30 seconds
if {cp.%player%} is false:
stop
kick player due to "&cYou failed the captcha !"
set {cp.%player%} to false
#---------------CAPTCHA EVENTS----------------#
on chat:
if {cp.%player%} is true:
if message is "22":
cancel event
send "&b&lFish&5&lFisher &e&l>> &aYou are not a bot ! You can go play !"
set {cp.%player%} to false
if {cp.%player%} is true:
if message is not "22":
cancel event
kick player due to "&cYou failed the captcha !"
if {bot.%player%} is true:
if {cp.%player%} is false:
stop
cancel event
send "&b&lFish&5&lFisher &e&l>> &cBefore typing in chat please move a bit !"
on any move:
set {bot.%player%} to false
if {cp.%player%} is true:
cancel event
if {bot.%player%} is true:
if {cp.%player%} is false:
add 1 to {sb.%player%}
if {sb.%player%} >= 50:
set {bot.%player%} to false
clear {sb.%player%}
on quit:
set {cp.%player%} to false
set {bot.%player%} to false
on inventory click:
if {cp.%player%} is true:
cancel event
on left click:
if {cp.%player%} is true:
cancel event
on right click:
if {cp.%player%} is true:
cancel event
#---------------CAPTCHA END----------------#