aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter M <hunterm.haxxr@gmail.com>2012-04-26 23:59:12 -0400
committerHunter M <hunterm.haxxr@gmail.com>2012-04-26 23:59:12 -0400
commit5b42d6a0d00632f8d245822e5b0cd502ca91e8eb (patch)
tree2b7728225787aa661d2b4b7d6f5c585557a75969
parent213c07d2a01b8e10f8bb3e7552443aa25557721e (diff)
downloadrccmd-5b42d6a0d00632f8d245822e5b0cd502ca91e8eb.tar.gz
rccmd-5b42d6a0d00632f8d245822e5b0cd502ca91e8eb.tar.xz
rccmd-5b42d6a0d00632f8d245822e5b0cd502ca91e8eb.zip
DONT WORRY GUYS I GOT THIS
-rw-r--r--main.ms4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.ms b/main.ms
index 9fc8508..cc2f91f 100644
--- a/main.ms
+++ b/main.ms
@@ -49,8 +49,8 @@ bind(player_chat, null, null, @event,
)
if(equals(@name_highlight, 'true'),
foreach(all_players(), @pl,
- modify_event(message, replace(@event[message], @pl, color(@name_highlight_color).@pl))
- ),
+ modify_event(message, reg_replace(@pl, concat(color(@name_highlight_color), @pl, '§r')))
+ )
true
)
if(equals(@trim_useless_whitespace, 'true'),