Where would I add the "action" tag at?
Edit: My co-admin helped me figure it out. Need coffee.
Quote:
Originally Posted by El_Muerte
to change the way the /me is displayed simply add the [action] vbcode tag.
for example the replacement:
HTML Code:
<span style="font-weight: bold; color: red;">* {option} {param}</span>
will make "/me does this" be displayed as:
* El_Muerte does this
in order for /me to only be replaced at the beginning of a line edit the "/me main" plugin to use the regex:
PHP Code:
$ircme_pattern = "/(^|\n|\r)\/me ([^\r\n]+)/is";
or you could simply add to something like "the [noprase]/me[/noparse] doesn't work now"
wth, why does [ color=red]text[/color] make the text green?!
|