Thread: Say Commands
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Zenith77 (33)
defyboy
Junior Member
Join Date: Jan 2008
Old 01-20-2008 , 16:57   Say Commands
Reply With Quote #1

This is my first plugin submission in years, I hope its up to standard.

Simple plugin to parse say commands, eg say /menu should display amx_menu. It is configurable by saycommands.ini in your config folder (auto-created) eg:


Code:
; This file determins commands you can say to execute
; eg:
; /help amx_help
; /menu amx_menu
"/menu" "amxmodmenu"
/wtf uaio_menu
Also note that any params, eg: say /kick defyboy will be passed to the command eg: amx_kick defyboy

Couple of cvars:
db_say_commands <1|0> enables/disables plugin
db_say_commands_echo <1|0> enables/disables echo of text (Whether its displayed in chat or not)

Enjoy..
Attached Files
File Type: sma Get Plugin or Get Source (db_say_commands.sma - 3823 views - 2.1 KB)
defyboy is offline