Forum

> > CS2D > Scripts > change chat color for admin/mods
Forums overviewCS2D overview Scripts overviewLog in to reply

English change chat color for admin/mods

3 replies
To the start Previous 1 Next To the start

old Re: change chat color for admin/mods

THEMUD
User Off Offline

Quote
It's very simple code.

Tip if you don't know where to put these text.*
Copy this ,and make file .lua in /sys/lua/ called color, then open server.txt and add this text >> dofile("sys/lua/color.lua")

1
2
3
4
5
6
7
8
9
10
Admin = {xxxxxx}

addhook("say","saycolor")
function saycolor(id, txt)

if (player(id,"usgn") == Admin[id])
then
msg("Here you can put the color"..player(id,"name").." [Admin]: "..txt)
end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview