Facebook
From Thundering Octupus, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 221
  1. var emot = {
  2.   emots: [
  3.                 [':)', 'smile'],
  4.                 [';)', 'wink'],
  5.                 [':P', '8p'],
  6.                 [':p', '8p'],
  7.                 [';P', 'razz'],
  8.                 [';p', 'razz'],
  9.                 ['xd', 'xd'],
  10.                 ['xD', 'xd'],
  11.                 ['Xd', 'xd'],
  12.                 ['XD', 'xd'],
  13.                 [':ahh', 'aww'],
  14.                 [';)))', 'lol'],
  15.                 [':)))', 'lol'],
  16.                 [';D', 'biggrin'],
  17.                 [':D', 'biggrin'],
  18.                 [';d', 'biggrin'],
  19.                 [':d', 'biggrin'],
  20.                 [';]', 'smirk'],
  21.                 [':]', 'smirk'],
  22.                 [';wstydnis', 'blush'],
  23.                 [':wstydnis', 'blush'],
  24.                 ['x|', 'doch'],
  25.                 ['X|', 'doch'],
  26.                 ['X(', 'mad'],
  27.                 ['x(', 'mad'],
  28.                 [':(', 'sad'],
  29.                 [':oops', 'oops'],
  30.                 [':|', 'eek'],
  31.                 [';|', 'eek'],
  32.                 [';(', 'crying'],
  33.                 [';*', 'kiss'],
  34.                 [':*', 'kiss'],
  35.                 [';>', 'evileye'],
  36.                 [':>', 'evileye'],
  37.                 [':thx', 'thanks'],
  38.                 [';o', 'o_o'],
  39.                 [':o', 'o_o'],
  40.                 [';O', 'o_o'],
  41.                 [':O', 'o_o'],
  42.                 [']:->', 'evillaugh'],
  43.                 ['];->', 'evillaugh'],
  44.                 [':tanczy', 'boogie'],
  45.                 [':zombie', 'zombie'],
  46.                 [':rotfl', 'rotfl']
  47.         ],
  48.   fnc: function(){
  49.         g.chat.parsers.push(function (ch) {
  50.                 for (i in emot.emots) {
  51.                         ch.t = ch.t.split(emot.emots[i][0]).join('<img src="https://emots.yetihehe.com/' + emot.emots[i][1] + '.gif" style="height: 13px;" />');
  52.                 }
  53.         });
  54.   }
  55. };
  56. emot.fnc();