|
Senior Member
Join Date: Mar 2004
Location: In a bubble
|
04-26-2004
, 14:32
JUST AN FYI
|
#6
|
FYI - i use this plugin in conjunction with :
amx_msgmodemenu.amx
http://www.tcwonline.org/~amxmodx/fo...pic.php?t=1136
&
amx_ejl_adminchat.amx
http://www.tcwonline.org/~amxmodx/fo...opic.php?t=895
to make admin chatting and (x)says be bindable to keys such as the following schema:
Quote:
Admin Messagemode
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.
Usage:
amx_saymode
amx_chatmode
amx_psaymode
amx_tsaymode
amx_csaymode
amx_fsaymode
amx_scrollsaymode
amx_tsayymode
amx_csayymode
amx_fsayymode
amx_scrollsayymode
------------------Admin Reference------------------------------------------
Link: http://amxmod.net/amx-showplugin.php?id=36659
Plugin: admin_messagemode.amx
_____________________________________________ _____________________________________________ ________________
amx_ejl_adminchat.amx
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_say <message>
amx_chat <message>
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>
amx_myhudcolor
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
marks.
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
yourself.
----------------------------Admin Info----------------------------------------
file: amx_ejl_adminchat.amx
link: http://www.tcwonline.org/~amxmodx/fo...opic.php?t=895
|
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 file.
__________________
|
|
|
|