Raised This Month: $51 Target: $400
 12% 

Say Commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode