Tetra WebBBS Configuration
%SmileyCode
%SmileyCode is a hash variable of some "codes" which will be converted when they appear in the subject or body of a message. It can be used to replace certain ASCII "smilies" with graphic images. Backslash (\) must be "escaped" (use two in a row instead of just one.) Otherwise, the script won't run.
An example:
%SmileyCode = (
':)' => '<img src="/webbbs/smileys/smile.gif" border="0" alt=":)">',
':(' => '<img src="/webbbs/smileys/frown.gif" border="0" alt=":(">',
':O' => '<img src="/webbbs/smileys/oh.gif" border="0" alt=":O">',
':D' => '<img src="/webbbs/smileys/biggrin.gif" border="0" alt=":D">',
';)' => '<img src="/webbbs/smileys/wink.gif" border="0" alt=";)">',
'8)' => '<img src="/webbbs/smileys/glasses.gif" border="0" alt="8)">',
':b' => '<img src="/webbbs/smileys/tongue.gif" border="0" alt=":b">',
':\\' => '<img src="/webbbs/smileys/ohwell.gif" border="0" alt=":\\">',
'>:(' => '<img src="/webbbs/smileys/angry.gif" border="0" alt=">:(">',
':|' => '<img src="/webbbs/smileys/indifferent.gif" border="0" alt=":|">',
);

![[+]](/i/toc_collapsed.gif)
![[-]](/i/toc_expanded.gif)
WebScripts










