Author Topic: Anti-Idle (Autokick) v1.1  (Read 4883 times)

0 Members and 1 Guest are viewing this topic.

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Anti-Idle (Autokick) v1.1
« on: August 11, 2007, 07:53:48 am »
Script name: Anti-Idle (aka Autokick)
Description: Automatically kicks spectators after a few minutes. Might be useful if you don't like it when someone occupies a precious player slot.
Author: fri
Core version: 2.6.5

Config:
SpecMaxTime - amount of time after which spectator wil be kicked (or kicked and banned) [minutes]
SpecBanTime - ban duration; set to 0 to disable ban [minutes]

Admin command:
/skick [ 0 / 1 ] - disables/enables autokicking spectators






Changelog 1.0 -> 1.1:
- you can't reset your counter by rejoining anymore. this was widely used to stay on spec team as long as one wanted
- cleaned up the code a bit
« Last Edit: March 31, 2014, 11:54:43 am by freestyler »

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Anti-idle script
« Reply #1 on: August 16, 2007, 04:46:32 pm »
it works for me man. nice job. keep bringin the soldat community good script.

Soldat Rulezz and must be played forever

Offline Freedom

  • Major
  • *
  • Posts: 97
  • Veritas Vincit
Re: Anti-idle script
« Reply #2 on: August 17, 2007, 02:37:13 am »
Dobra rzecz freestyler.
Ale szkoda, że kickuje również admina ;P
Cum pare contendere anceps est, cum superiore furiosum, cum inferiore sordidum.

Offline Carlitos

  • Camper
  • ***
  • Posts: 413
  • Dont Give Up
    • Mr.Pants adventures on Soldat
Re: Anti-idle script
« Reply #3 on: August 17, 2007, 10:25:48 am »
Dobra rzecz freestyler.
Ale szkoda, że kickuje również admina ;P

hmm english?


This is good, because the spectors on your server also annoy some players when they start off-topic talking
---See the advantures of Mr.Pants and others in soldat---
http://www.youtube.com/TugaSoldatTV
-------------------------------
Amen
-------------------------------

Offline Freedom

  • Major
  • *
  • Posts: 97
  • Veritas Vincit
Re: Anti-idle script
« Reply #4 on: August 17, 2007, 10:41:33 am »
Ok. English:

Good thing freestyler.
But the thing is, it kick admin too ;P
Cum pare contendere anceps est, cum superiore furiosum, cum inferiore sordidum.

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Re: Anti-Idle (Autokick) v1.1
« Reply #5 on: June 19, 2011, 05:44:49 pm »
But the thing is, it kick admin too ;P
Long-awaited reply: admins cannot be kicked because the server prevents it. And you can use /skick 0.

Download Autokick v1.1!

Changelog 1.0 -> 1.1:
- you can't reset your counter by rejoining anymore. this was widely used to stay on spec team as long as one wanted
- cleaned up the code a bit