for example: !white etc... with commands like
Forum
Scripts
How to change color during game
How to change color during game
4 replies
1

for example: !white etc... with commands like
the batter: He posted this in the scripting section. So what he's actually asking for is probably a script which allows you to use colors in chat messages.@
phalenkO: Please use the search function before asking. There are many threads about this topic already.e.g.:
just search for something like "chat color"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clr = {
user = {},
["red"] = "255000000",
["green"] = "000255000",
["blue"] = "000000255"
}
addhook("join","_j")
function _j(id)
	clr.user[id] = clr.red
end
addhook("say","_s")
function _s(id,t)
	for k,v in pairs (clr) do
		if t:find(k) then
			clr.user[id] = clr[k]
			return 1
		end
	end
	msg("/169..clr.user[id]..player(id,"name")..t)
end
Thx For LUA
1

Offline