cgiirc - Msn Smileys
Not logged in
[Browse]  [Contents]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline]  [Wiki
  [Attach]  [Diff]  [Edit]  [History]  [Text

Quick way to insert MSN smileys (by Niklas Bivald, ¤http://chat.snyggast.se)

1. Download smilies from somewhere, I got them from a gaim theme ( ¤http://sourceforge.net/tracker/index.php?func=detail&aid=1216411&group_id=235&atid=746976 ). Please note, I haven't been able to get a hold of the creator to ask about their license. I think it is GPL since it is under GAIM.

2. Upload the .gif files to your images folder

3. Backup your nph-irc.cgi and then open it, search for sub format_init_smilies. Replace %regexpicon with this:

%regexpicon = (
   ':-\#' => '47_47',
   '8o\|' => '48_48',
   '8-\|' => '49_49',
   '\^o\)' => '50_50',
   ':-\*' => '51_51',
   '\+o\(' => '52_52',
   '\(sn\)' => '53_53',
   '\(pl\)' => '55_55',
   '\(\|\|\)' => '56_56',
   '\(pi\)' => '57_57',
   '\(so\)' => '58_58',
   '\(au\)' => '59_59',
   '\(ap\)' => '60_60',
   '\(um\)' => '61_61',
   '\(ip\)' => '62_62',
   '\(co\)' => '63_63',
   '\(mp\)' => '64_64',
   '\(st\)' => '66_66',
   '\(mo\)' => '69_69',
   '\(bah\)' => '70_70',
   ':\^\)' => '71_71',
   '\*-\)' => '72_72',
   '\(li\)' => '73_73',
   '\<:o\)' => '74_74', #I donno...
   '\|-\)' => '77_77',
   '\(a\)' => 'angel_smile',
   '\(A\)' => 'angel_smile',
   ':-\@' => 'angry_smile',
   ':\@' => 'angry_smile',
   ':-\[' => 'bat',
   ':\[' => 'bat',
   '\(B\)' => 'beer_mug',
   '\(b\)' => 'beer_mug',
   '\(U\)' => 'broken_heart',
   '\(u\)' => 'broken_heart',
   '\(\^\)' => 'cake',
   '\(P\)' => 'camera',
   '\(p\)' => 'camera',
   '\(\@\)' => 'cat',
   '\(O\)' => 'clock',
   '\(o\)' => 'clock',
   '\(C\)' => 'coffee',
   '\(c\)' => 'coffee',
   ':s' => 'confused_smile',
   ':S' => 'confused_smile',
   ':-S' => 'confused_smile',
   ':\'\(' => 'cry_smile',
   '\(6\)' => 'devil_smile',
   '\(\&\)' => 'dog',
   '\(E\)' => 'envelope',
   '\(e\)' => 'envelope',
   '\(\~\)' => 'film',
   '\(X\)' => 'girl',
   '\(x\)' => 'girl',
   '\(\}\)' => 'girl_hug',
   '\(z\)' => 'guy',
   '\(Z\)' => 'guy',
   '\(\{\)' => 'guy_hug',
   '\(L\)' => 'heart',
   '\(l\)' => 'heart',
   '\(K\)' => 'kiss',
   '\(k\)' => 'kiss',
   '\(I\)' => 'lightbulb',
   '\(i\)' => 'lightbulb',
   '\(D\)' => 'martini',
   '\(d\)' => 'martini',
   '\(M\)' => 'messenger',
   '\(m\)' => 'messenger',
   '\(S\)' => 'moon',
   '\(8\)' => 'note',
   ':-O' => 'omg_smile',
   ':o' => 'omg_smile',
   ':O' => 'omg_smile',
   '\(T\)' => 'phone',
   '\(t\)' => 'phone',
   '\(G\)' => 'present',
   '\(g\)' => 'present',
   ':-\$' => 'red_smile',
   ':\$' => 'red_smile',
   ':\)' => 'regular_smile',
   ':-\)' => 'regular_smile',
   '\(F\)' => 'rose',
   '\(f\)' => 'rose',
   ':-\(' => 'sad_smile',
   ':\(' => 'sad_smile',
   '\(H\)' => 'shades_smile',
   '\(h\)' => 'shades_smile',
   '\(\*\)' => 'star',
   ':-D' => 'teeth_smile',
   '\:D' => 'teeth_smile',
   ':d' => 'teeth_smile',
   '\(N\)' => 'thumbs_down',
   '\(n\)' => 'thumbs_down',
   '\(Y\)' => 'thumbs_up',
   '\(y\)' => 'thumbs_up',
   ':-P' => 'tongue_smile',
   ':p' => 'tongue_smile',
   ':P' => 'tongue_smile',
   ':-\?' => 'what_smile',
   ':\?' => 'what_smile',
   '\(W\)' => 'wilted_rose',
   '\(w\)' => 'wilted_rose',
   ';-\)' => 'wink_smile',
   ';\)' => 'wink_smile'

);

Done!

CVSTrac 1.2.1 - CGI:IRC