HC Emoticons 
57 comments This is the emoticon part of the HC Admin script. It can be used as a standalone script.
When you say something that contains a smiley, an emoticon will appear next to your character. The icon will linger for a few seconds and then fade out.
Here is a list (not complete) of supported smileys:
To install, just unzip it into your CS2D folder.
When you say something that contains a smiley, an emoticon will appear next to your character. The icon will linger for a few seconds and then fade out.
Here is a list (not complete) of supported smileys:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
:) - smiling
;) - winking
:D - big smile
xD - laughing
:( - frowning
:P - cheeky
:'( - crying
:O - surprised
:/ - skeptical
:S - uneasy
>:D - evil
>:( - angry
<3 - loves
;) - winking
:D - big smile
xD - laughing
:( - frowning
:P - cheeky
:'( - crying
:O - surprised
:/ - skeptical
:S - uneasy
>:D - evil
>:( - angry
<3 - loves
To install, just unzip it into your CS2D folder.
edited 1×, last 19.03.11 10:12:39 pm

Comments
57 commentsLog in!
You need to log in to be able to write comments!Log in
24.04.16 05:08:43 pm
goldfish army is going to invade in 2166 with my comrade pink bacon
edited 1×, last 24.04.16 05:37:21 pm
You open hc_emoticons.lua in a text editor. In the beginning of the file you find this:
It's a table with the emoticons. On the left hand side is the regular expression that describes the smiley that will produce the emoticon. On the right hand side is the name of the emoticon file, without the .png extension. Put the image files in gfx/hc/emoticons.
Code:
1
2
3
2
3
HC_EMOTICONS = {
["^[:=8][-^o]?[)%]3>]$"] = "smiling", -- :)
...
["^[:=8][-^o]?[)%]3>]$"] = "smiling", -- :)
...
It's a table with the emoticons. On the left hand side is the regular expression that describes the smiley that will produce the emoticon. On the right hand side is the name of the emoticon file, without the .png extension. Put the image files in gfx/hc/emoticons.
11.02.14 03:24:43 pm

Thanks dude, i will use it on my roleplay server!
Btw, how to add more emoticons?
Btw, how to add more emoticons?