10 hours ago10 hr Administrator Defines extra chat commands in a file: each word prints a text or runs a console command, without writing a plugin. Custom Chat Commands 1.0.0 (olds.ro) Extra chat commands from a text file, without writing a plugin: a word typed in chat shows a text to the player, runs a command for the player, or runs a server command. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_saycustom.sma with amxxpc 1.10 and copy olds_saycustom.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_saycustom.txt to addons/amxmodx/data/lang/.Copy configs/olds_saycustom.ini and configs/plugins/olds_saycustom.cfg to the same folders under addons/amxmodx/configs/.Add olds_saycustom.amxx to addons/amxmodx/configs/plugins.ini. Entries (addons/amxmodx/configs/olds_saycustom.ini), one per line word|action|text word what the player types in chat, any case, for example /rules print the text is shown in chat to that player only cmd the text runs as the player's own command, through the server, so plugins and the game both see it (say and say_team get the rest of the line; other commands up to two arguments) server the text runs as a server command, never as the player Examples /rules|print|No cheats, no spam, respect the admins. !rank|cmd|say /rank /next|server|amx_say Type nextmap to see the next map Works in say and say_team; the whole chat line must be the word.A line that cannot be read is skipped and the log says why.At most 100 entries; more are ignored and the log says so once. Admin command (flag "h", ADMIN_CFG, and the server console) amx_saycustom_reload reads the file again, without a map change Settings (addons/amxmodx/configs/plugins/olds_saycustom.cfg) olds_saycustom_hide 1 1 = the typed word is not shown in chat olds_saycustom_log 0 1 = every use is written to the AMX Mod X log Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1517. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_saycustom.sma, test/olds_saycustom_test.sma Idea: olds.ro workshop library · Plugin: alexit · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-1517). Custom Chat Commandsv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads5.4 KBUpdated 10 hours agoSign in to downloadolds_saycustom.smaPawn (AMX Mod X) · 320 lines5 files/* * Custom Chat Commands (olds.ro workshop card LIB-1517) * * Extra chat commands from a file, without writing a plugin: a word typed * in chat prints a text to the player, runs a command for the player, or * runs a server command. *Show all 320 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.