Just so you guys know... emoticons
Avatar
So I added emoticons. The code is a bit flimsy as I'm pretty inexperienced with regexes and I wanna make it so it's not hard coded in the future, but for now, this will do.

Frown Smile Unsure Confused Grin Tongue Gasp Gasp Wink Kiki Kiss Curlylips
Sheep-330px
i'm glad they're not blue

Kiki
Sheep-330px
[code]['sliker', 'this', ].forEach(function(thing, key) {
alert(thing + ' is awesome');
});[/code]

Edit: yeah i found a problem with it, you want to make sure the pattern either only detects words (usually \B, not sure if that'd work with colons) or detects whitespace on both sides (usually \s)
Edit again: ALSO code blocks should probably also have <pre> tags? To keep spaces/tabs intact
Edit AGAIN: ALSO you probably want to just genrally not-parse emoticons in code tags. Is there a bbcode tag to ignore bbcode within it?
Unxhdqb
Sliker said:
i'm glad they're not blue

Kiki


I'm not Inverse-d
Acehuge
Gasp Gasp Wink

we need a Inverse-d

maybe it could be blue, for nin
Sheep-330px
Grin

i couldn't get the D to fit properly upside down, shush
Avatar
Alright guys, I added it Inverse-d
Acehuge
oh no Inverse-d in a good way
12345
Will there be a little button we could click to see the emoticons? Gasp