2010-10-13, 03:28 PM
2010-10-13, 03:49 PM
./inc/class_parser.php
Search for /me and you'll find it.
Search for /me and you'll find it.
2010-10-13, 03:55 PM
Open up /inc/class_parser.php, line 139 and 140:
Replace red on both lines (to take effect for the me and slap commands) with whatever color you want. You can use HEX values or set a CSS class.
(Malcolm beat me )
$message = preg_replace('#(>|^|\r|\n)/me ([^\r\n<]*)#i', "\\1<span style=\"color: red;\">* {$this->options['me_username']} \\2</span>", $message);
$message = preg_replace('#(>|^|\r|\n)/slap ([^\r\n<]*)#i', "\\1<span style=\"color: red;\">* {$this->options['me_username']} {$lang->slaps} \\2 {$lang->with_trout}</span>", $message);
Replace red on both lines (to take effect for the me and slap commands) with whatever color you want. You can use HEX values or set a CSS class.
(Malcolm beat me )
2010-10-13, 05:37 PM
Thanks, it worked.