Author Topic: Punish Bot 1.25  (Read 2085 times)

0 Members and 1 Guest are viewing this topic.

DarkCrusade

  • Guest
Punish Bot 1.25
« on: April 21, 2010, 10:15:49 am »
Script Name: PunishBot v1.25
Script Description Control spamming!
Author: DarkCrusade
Compile Test: Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Who doesn't hate those people who cannot shut their mouths? Those people know there is a built-in AntiFlood-Kicker, but the Punish Bot is more strict.

Basically every message of a player is considered as spam by the bot, regardless of what they say. The way this script works you'll be able to use the BotChat function better without your bots getting kicked and it's always fun to see people say "WTF" when the bot starts talking :P The script is adjustable at the top of the script. I put in a description of what you can change.

Fight the nonsense!

Note: BotChat needs to be set to 0 in the Soldat.ini. Specator limit should be 1.



(Size 1.85 KB)
- http://soldatcentral.com/index.php?page=script&f=187 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: April 24, 2010, 09:37:54 am by DarkCrusade »

Offline dnmr

  • Camper
  • ***
  • Posts: 315
  • emotionally handicapped
Re: Punish Bot 1.0
« Reply #1 on: April 21, 2010, 03:09:32 pm »
you know you could check if it's not a bot talking. Then people could actually use bot chat on their servers.
And what's with the bot file lying there separately? Did you get banned from using WriteFile() ?

DarkCrusade

  • Guest
Re: Punish Bot 1.0
« Reply #2 on: April 22, 2010, 11:35:06 am »
Good point, I will add that line to my script.

But ... I think you should think twice. The script adds a bot to the spectators whos name is Punisher.bot. Hence the file in my folder. That has nothing to do with WriteFile() ...

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Punish Bot 1.0
« Reply #3 on: April 22, 2010, 11:42:05 am »
I think he meant to write the botfile  ::)

DarkCrusade

  • Guest
Re: Punish Bot 1.0
« Reply #4 on: April 22, 2010, 12:36:10 pm »
I donĀ“t get his point

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Punish Bot 1.0
« Reply #5 on: April 22, 2010, 01:38:41 pm »
Code: [Select]
WriteFile('xxx.bot','1st line of botfile');
WriteLnFile('xxx.bot','2nd line of botfile');
...
It's the pro way to do such things.

DarkCrusade

  • Guest
Re: Punish Bot 1.0
« Reply #6 on: April 22, 2010, 01:42:42 pm »
Thanks for letting me know ... works anyways

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: Punish Bot 1.0
« Reply #7 on: April 22, 2010, 02:06:24 pm »
Code: [Select]
WriteFile('xxx.bot','1st line of botfile');
WriteLnFile('xxx.bot','2nd line of botfile');
...
It's the pro way to do such things.
Real pro's use one WriteFile and BR  8)
Even though he's beginner :P

DarkCrusade

  • Guest
Re: Punish Bot 1.25
« Reply #8 on: April 24, 2010, 03:46:24 am »
PunishBot v1.25 is out. I fixed one bug and made the script adjustable (change settings at the top of the script (includes a description)). Fighting the NonSense couldn't be easier!