Join Date: Mar 2004
Location: In a bubble
FYI - i use this plugin in conjunction with :
to make admin chatting and (x)says be bindable to keys such as the following schema:
Provides bindable wrapper commands for admin chat messages (inspired by plugin_sank_chatmode from sank for AdminMod).
Just bind one of the commands to a key, e.g. You can use that key like the normal "say"-command and type your message directly to the "say-line" without pulling down the console. Your message will be displayed as the corresponding admin chat message (e.g. amx_tsay).
A default color can be set in the clients local variable "_mcol", e.g. by "setinfo _mcol red". This color will be used if none is specified in the first word of the message.
_____________________________________________ _____________________________________________ ________________
This is a replacement for the default adminchat plugin. All credit
for orginal coding goes to OLO below. Added are a few features
to make this "Deluxe Admin Chat".
- Usage (console)
amx_psay <player> <message>
amx_tsay <optional color> message
amx_csay <optional color> <message>
amx_fsay <x postion> <y postion> <optional color> <message>
amx_scrollsay <optional color> <message>
Also supports clanmod method of issuing these types of hudmessages
from the chat:
- Usage (say):
say @@@ <optional color> <message> is amx_scrollsay from chat
say @@ <optional color> <message> is amx_csay from chat
say @ <optional color> <message> is amx_tsay from chat
say ## <message> is amx_chat from chat
say # <player> <message> is amx_psay from chat
Some of those feaures include new commands like fsay and scrollsay.
Also added we the repeat of the csay/tsay etc message in the console,
in case you missed reading it before it disappeared or got over-
written by another csay/tsay so you can still catch what was said.
Additionally, messages no longer need to be enclosed in quotation
Lastly, added are shortcuts for all commands. You may use them
without the "amx_" extension at the beginning. Instead of "amx_fsay",
just do "fsay". By default the message includes the admins name so
everyone knows where its from, but if you add an extra "y" to the
end of the command, the admins name will not appear in the on screen
message. To make separate lines in your message, use the standard
carriage return, "^n" (no quotes) between your lines -- up to
10 lines allowed. You may use thse comamnds through the console
or rcon as well. They are serverside and clientside commands.
Updated to include 16,777,216 colors for tsay,csay,fsay, and scrollsay.
You can use the original colors: white,red,green,blue,yellow,magenta,
and cyan. You can also specify a custom color by making one out of the
3 primary colors red, green, and blue. Preceed your color # with an
exclaimation point, then without any spaces type three 3 digit numbers
ranging from 0-255. First is red, then green, then blue. If you dont
want to type the numbers again, the server will remeber the last custom
color you did for the duration of the map. Simply put the excaimation
mark and no number.
Custom color examples:
amx_tsay !255010189 message (thats 255 red, 10 green, 189 blue)
amx_tsay ! message (that repeats previous custom color)
The command amx_myhudcolor sets your default hudmessage color as
whatever your current hud color is and writes it to file so that it
is permanently saved and loaded each map until you set a new one for
Hope this wasnt too confusing.. the key part of this is using the amx_messagemode <AMX FUNCTION> which lets my admins bind keys to their tsays, csays, amx_chat, etc by doing the following: bind "o" "amx_tsaymode"
either in console or in their config.cfg