ript.js file(you need to create this file).
Eg. if you want a button for the subscript syntax, just ... following code to conf/userscript.js:
<code php>if(toolbar){
toolbar[toolbar.length] = {"type":"fo... "</sub>"};
}</code>
Button types:
* format - If there is a selection this wraps it with the open ... . Probably not useful for you
<code javascript>if(window.toolbar!=undefined){
/* format: subscr