Evie Addon Details

Watch - Add Favorite

HLStatsX Punisher - Version KwikFix 2 for v1.1

posted on 2007-11-25 18:48:31
by ashbash1987
6
w00ts
w00t!
Requires: Tags: css hlstats punishment

Description

HLStatsX Punisher v1.1

- Gives your admins the power to remove HLStatsX ranking points from people currently playing on the server.

Requirements

- EventScripts v2.0 or higher
- Use of Admin Auth in a server configuration file
- MySQL-DB for Python

Installation

- Place hlpunish.py into addons/eventscripts/hlpunish.
- Edit these variables to your MySQL database settings:
#Replace the default values for your MySQL database
hlp_host = "localhost"
hlp_user = "user"
hlp_pass = "password"
hlp_db = "database"


- Add the MySQL-DB module to the addons folder.
- Add es_load hlpunish to your autoexec.cfg

Using HLStatsX Punisher

- Use the command !hlpunish in your chat window, replacing with your reason for punishing by points. For example:
!hlpunish spamming chat would result in saying "You have had points deducted for spamming chat"

Notes

- This is my first ESPy script (but not my first ES script), so please be nice to me!

Version Notes For KwikFix 2 for v1.1 (Announce this update)

Updated on: 2007-11-26 11:20:27 EST
KwikFix 2 for v1.1

- A slight edit in the registration of the say command. It now registers as an admin command now, rather than a public command, then checked to see if it's called by an admin.
( Previous Versions )