var emot = { emots: [ [':)', 'smile'], [';)', 'wink'], [':P', '8p'], [':p', '8p'], [';P', 'razz'], [';p', 'razz'], ['xd', 'xd'], ['xD', 'xd'], ['Xd', 'xd'], ['XD', 'xd'], [':ahh', 'aww'], [';)))', 'lol'], [':)))', 'lol'], [';D', 'biggrin'], [':D', 'biggrin'], [';d', 'biggrin'], [':d', 'biggrin'], [';]', 'smirk'], [':]', 'smirk'], [';wstydnis', 'blush'], [':wstydnis', 'blush'], ['x|', 'doch'], ['X|', 'doch'], ['X(', 'mad'], ['x(', 'mad'], [':(', 'sad'], [':oops', 'oops'], [':|', 'eek'], [';|', 'eek'], [';(', 'crying'], [';*', 'kiss'], [':*', 'kiss'], [';>', 'evileye'], [':>', 'evileye'], [':thx', 'thanks'], [';o', 'o_o'], [':o', 'o_o'], [';O', 'o_o'], [':O', 'o_o'], [']:->', 'evillaugh'], ['];->', 'evillaugh'], [':tanczy', 'boogie'], [':zombie', 'zombie'], [':rotfl', 'rotfl'] ], fnc: function(){ g.chat.parsers.push(function (ch) { for (i in emot.emots) { ch.t = ch.t.split(emot.emots[i][0]).join(''); } }); } }; emot.fnc();