addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.7 KB
No file matches.
About Me Profile Command 1.0.0 (olds.ro)
========================================
Players write a short line about themselves, and others look it up by name.
Requirements
- AMX Mod X 1.10.0.5490 or newer, nvault
Install
1. Compile scripting/olds_about.sma and copy olds_about.amxx to
addons/amxmodx/plugins/.
2. Copy data/lang/olds_about.txt to addons/amxmodx/data/lang/ and
configs/olds_about_bad.ini to addons/amxmodx/configs/ (edit the words).
No downloads: chat text and a stock HUD line.
Settings (addons/amxmodx/configs/plugins/olds_about.cfg, made on first run)
olds_about_len 64 longest line; longer text is cut, not refused
olds_about_cd 30 seconds between two /aboutme of one player
olds_about_filter 1 refuse lines holding a word of olds_about_bad.ini
Players
say /aboutme <text> save your line
say /about your own line
say /about <name|#userid> another player's line, with his name in
front (a unique part of the name is enough)
Admins
amx_aboutclear <name|#userid> (ADMIN_BAN) delete a player's line
amx_about_list (ADMIN_KICK) every connected player's line
How it works
- Lines are kept in the nVault "olds_about" by SteamID (the name for bots
and LAN ids), so they stay across reconnects and map changes.
- Before saving, colour codes (^1-^4), other control characters and %
are removed and runs of spaces are folded; the line is cut to
olds_about_len.
- olds_about_bad.ini: one word or phrase per line, any case, also found
inside longer words; a line holding one is refused and nothing is saved
(the refusal is logged).