Solved Stopping Spambots

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Adrihun

Member
Feb 1, 2017
368
6
0
Is there a way to make it so when a player joins they have to move so they can chat, this is good because then there won't be any SPAMBOTS. Thanks
 
Is there a way to make it so when a player joins they have to move so they can chat, this is good because then there won't be any SPAMBOTS. Thanks
[doublepost=1488316370,1488315784][/doublepost]bump
Just use my anti spam script if you want to combat spambots.
 
This should do the job, no addons required

code_language.skript:
on join:
  set {playercanchat::%player%} to player's location
on chat:
  if {playercanchat::%player%} is set:
    if {playercanchat::%player%} is player's location:
      cancel event
    else:
      delete {playercanchat::%player%}
on script unload:
  delete {playercanchat::*}
 
This should do the job, no addons required

code_language.skript:
on join:
  set {playercanchat::%player%} to player's location
on chat:
  if {playercanchat::%player%} is set:
    if {playercanchat::%player%} is player's location:
      cancel event
    else:
      delete {playercanchat::%player%}
on script unload:
  delete {playercanchat::*}
thanks
[doublepost=1488387285,1488382230][/doublepost]
This should do the job, no addons required

code_language.skript:
on join:
  set {playercanchat::%player%} to player's location
on chat:
  if {playercanchat::%player%} is set:
    if {playercanchat::%player%} is player's location:
      cancel event
    else:
      delete {playercanchat::%player%}
on script unload:
  delete {playercanchat::*}
[16:54:29 WARN]: [Skript] Possible name conflict of variables {playercanchat::*} and {playercanchat::%player%} (there might be more conflicts). (Join.sk, line 57: delete {playercanchat::*}')
 
thanks
[doublepost=1488387285,1488382230][/doublepost]
[16:54:29 WARN]: [Skript] Possible name conflict of variables {playercanchat::*} and {playercanchat::%player%} (there might be more conflicts). (Join.sk, line 57: delete {playercanchat::*}')
Just disable that in the config.sk (variable conflict warnings)
 
  • Like
Reactions: Adrihun
8atolUL.png

Why are you vandalizing all of your solved threads? It defeats the entire purpose of this forum...

Threads should remain intact so people with similar problems can reference them in the future.

Don't just delete your question after it's been solved... :emoji_face_palm:
 
Last edited by a moderator:
Status
Not open for further replies.