Hey, thanks for this mod, I really appreciate it because I didn't know how that could be done. However, I'd rather prefer using it to display the quote bbcode button (I have them enabled in my chat) so I hope you won't mind if I make some edits to it when installing it. Thanks again

Edit: Hey, it looks like this wouldn't be as easy as I thought, lol
I edited your mod so it would be like this
- Code: Select all
<a href='#' onclick='insert_text('[quote="{chatrow.NICK}"]{chatrow.MESSAGE}[/quote]', true); return false;' title='{L_CHAT_QUOTE}';><img alt='{L_CHAT_QUOTE}' src='{T_IMAGESET_LANG_PATH}/chat_quote.png' /></a>
And it works nicely (though it adds an space before and after the quote, for some reason); except for this little problem you can see in the attachment :/ It seems like the quotes that contain html breaks this kind of mod. This happens with the bot I installed and the bbcodes you try to post. Do you have any clue on what I could do to make this work?
Edit: Again, sorry... I've been researching a bit on how to fix the font size issue, and found out about the add_quote() function, therefore I tried to replace the code of your mod using that function instead of insert_text. And now it doesn't screw my chat, but doesn't work either... Any ideas? (I've attached a screen capture of how my chat looks now)
This is the new code
- Code: Select all
<a href="#message" onclick="add_quote({chatrow.MESSAGE_ID},{chatrow.NICK})" title="{L_CHAT_QUOTE}"><img alt="{L_CHAT_QUOTE}" src="{T_IMAGESET_LANG_PATH}/chat_quote.png" /></a>