I'm trying to make simple-chatcolor working on a NMRiH server,but i failed.I found the NMRiH servers will automatic add "#ChatPrefix" infront of a text which we want to decorate some colors on it.So i spotted
exCeeder's plugin 's Admin Chat hook usage can help me to decorate the text on NMRiH servers,and I made a similar plugin based on Admin Chat.It supports owner to decorate not only admin's text,but also vip's.
Overrides:
adminchat_admin_flag "(default:b) define authority of admin."
adminchat_vip_flag "(default:a) define authority of vip."
Bugs:
It will send anything you entered,including both !admin or /admin
PHP Code:
// Turn On/Off the plugin. (0 = Off | 1 = On)
// -
// Default: "1"
sm_enable "1"
// Tag for the Admin Chat
// -
// Default: "[ADMIN]"
sm_adminchat_atag "[ADMIN]"
// Color for the Admin Tag
// -
// Default: "lime"
sm_color_atag "lime"
// Color for the Name of the Admin
// -
// Default: "fullred"
sm_color_aname "fullred"
// Color for the Text which the Admin has written
// -
// Default: "deepskyblue"
sm_color_atext "deepskyblue"
// Tag for the VIP Chat
// -
// Default: "[VIP]"
sm_adminchat_vtag "[VIP]"
// Color for the VIP Tag
// -
// Default: "lime"
sm_color_vtag "lime"
// Color for the Name of the VIP
// -
// Default: "fullred"
sm_color_vname "fullred"
// Color for the Text which the VIP has written
// -
// Default: "deepskyblue"
sm_color_vtext "deepskyblue"