Jump to content

Anti-Bot | Bots begone!


Swayl

Recommended Posts

Anti-Bot

A simple way to prevent

bots from joining your server

or spamming on your server 🙂.

You have to type a given text to

verify that you are not a bot. 

Those texts are randomized and cannot

be the same. Players with the permission

"Staff" does not have to go through 

verification.

Pictures

image.png.a42ef82195e05700e4977cb63d9c4a12.png

image.png.1c8a5623408eff0e3d7cbeeaa5815d1f.png

^ I also included a welcome message, so feel free to edit ^

Script (24 lines)

options:
    pre: &3[Anti-Bot]

on join:
    loop 100 times:
        send ""
    wait 1 second
    set {antibot::%player%} to random 5 char string from `a-zA-Z0-9`
    send "{@pre} &7Please type out &b%{antibot::%player%}% &7to confirm you're not a bot."

on chat:
    if {antibot::%player%} is set:
        if message does not contain "%{antibot::%player%}%":
            send "{@pre} &7Please type out &b%{antibot::%player%}% &7to confirm you're not a bot."
            cancel event
        else:
            delete {antibot::%player%}
            send "{@pre} &7Thank you for the verification. Enjoy playing in Promise! /tut to learn the basics."
            cancel event
        
on command "msg":
    if {antibot::%player%} is set:
        send "{@pre} &7Please type out &b%{antibot::%player%}% &7to confirm you're not a bot."
        cancel event

image.png

  • Like 1

Things to know about me

• I have 2 years of skript experience

• I work on my servers all by myself
• I like being alone

• I have insane trust issues

• I simp for alot of people (trying my best not to)

• My mental age is somewhere 8

• I dont like meeting new people

• Very toxic

 

Discord - Swayl#0099

MC IGN - Swayl

(I suggest avoiding me because I get too attached to people quick)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...