It has become much easier!!!
How long?
let decorate = ["i", "b", "sub", "sup", "del", "big", "ins", "a", "kbd", "mark", "code"];
let passage = "They would probably need to wait for another day to get Regular Badge.";
let decoCounter = 0;
let decoPassage = "";
for (let i = 0; i < passage.length; i++) {
if (passage[i] == "." || passage [i] == " ") {
decoPassage += passage[i];
} else {
decoPassage += "<" + decorate[decoCounter] + ">" + passage[i] + "</" + decorate[decoCounter] + ">"
decoCounter = (decoCounter == decorate.length - 1) ? 0 : decoCounter+1;
}
}
console.log(decoPassage);
6 Likes
N o w t ha t I i n v
e n t e d a t o o l ,
I a m a bl e t o r e
p r o d uc e y o u r
d e c o ra t i o n i
n l e s s t h a n a m
i n u t e o f e x t r
a t i m e. H o o r a y
! ! !
6 Likes
Just hover the entire text and try to āsearchā Google for it, and the text will be undecorated.
6 Likes
how do you do that
sig jdkn gi
6 Likes
You can decode it to some extent with the following code:
Code
let decorate = "<i>N</i><b>o</b><sub>w</sub> <sup>t</sup><del>h</del><big>a</big><ins>t</ins> <a>I</a> <kbd>i</kbd><mark>n</mark><code>v</code><i>e</i><b>n</b><sub>t</sub><sup>e</sup><del>d</del> <big>a</big> <ins>t</ins><a>o</a><kbd>o</kbd><mark>l</mark><code>,</code> <i>I</i> <b>a</b><sub>m</sub> <sup>a</sup><del>b</del><big>l</big><ins>e</ins> <a>t</a><kbd>o</kbd> <mark>r</mark><code>e</code><i>p</i><b>r</b><sub>o</sub><sup>d</sup><del>u</del><big>c</big><ins>e</ins> <a>y</a><kbd>o</kbd><mark>u</mark><code>r</code> <i>d</i><b>e</b><sub>c</sub><sup>o</sup><del>r</del><big>a</big><ins>t</ins><a>i</a><kbd>o</kbd><mark>n</mark> <code>i</code><i>n</i> <b>l</b><sub>e</sub><sup>s</sup><del>s</del> <big>t</big><ins>h</ins><a>a</a><kbd>n</kbd> <mark>a</mark> <code>m</code><i>i</i><b>n</b><sub>u</sub><sup>t</sup><del>e</del> <big>o</big><ins>f</ins> <a>e</a><kbd>x</kbd><mark>t</mark><code>r</code><i>a</i> <b>t</b><sub>i</sub><sup>m</sup><del>e</del>. <big>H</big><ins>o</ins><a>o</a><kbd>r</kbd><mark>a</mark><code>y</code><i>!</i><b>!</b><sub>!</sub>"
let plainText = "";
let enabled = true;
for (let i = 0; i < decorate.length; i++) {
if (decorate[i] == "*" || decorate[i] =="`") continue;
else if (decorate[i] == "<") {
if (enabled) enabled = false;
else {
console.log("err!");
break;
}
continue;
} else if (decorate[i] == ">") {
if (!enabled) enabled = true;
else {
console.log("err!");
break;
}
continue;
} else {
if (enabled) {
plainText += decorate[i];
} else continue;
}
}
console.log(plainText);
6 Likes
If you canāt inspect it, thatās the worst.
6 Likes
Btw, in order to advertise old posts, Iām thinking of making a thread named āWish List of Likesā so that I can receive as many likes as possible.
5 Likes
And at least I need to invite another enthusiastic liker to get Admired. As I try to expand the active population of the Forum, itās also important to provide new people with the wiki to collect a set of easier Badges: from First Like to Crazy In Love and Regular so that we can get other golden badges. Plus, Iāll strive to post 600-700 messages to get Empathetic. Itāll be almost impossible to get silver or gold links Badges, so I postpone the problem until I get other viable badges. However, Iām thinking of an end-game plan for them (which would not happen in a month or two though).
6 Likes
_580k
May 29, 2023, 12:52pm
213
I have 4.5k posts read and i still didnāt get Regualr
6 Likes
i dont know how to code
im still just a kid
6 Likes
_580k
May 30, 2023, 5:44am
215
And we finally got it, I got the Regular Badge on the 52nd day. There are now 13 users having the Regular Badge
EDIT: There are now 12 users having the Regular Badge because kyle69 has got demoted
6 Likes
_580k
May 30, 2023, 6:16am
216
Iām aiming for Empathetic , tho it will be hard to get
6 Likes
no one has got that badge ;-;
someguy: wait what not even s1ck?
6 Likes
_580k
May 30, 2023, 3:50pm
218
Yes, because Empatehtic badge is very hard to get, not even s1ck can get it, I think he/she will get this badge that i was talking about Empatehtic
7 Likes
s1cK
May 30, 2023, 9:15pm
219
I do have the requirements for the Empathetic Badge
. Iām pretty sure the system will automatically give you that badge in a certain day.
7 Likes
I believe you need 500 āunique liked postsā, not 500 likes to get that badge. So first of all, you need to post 500 messages.
6 Likes
_580k
May 31, 2023, 4:52am
221
I donāt think that System will automatically give that badge, thatās badge you need 500 unique liked posts
7 Likes
some badge(or achievements) are interesting
7 Likes
_580k
May 31, 2023, 5:27am
223
Congratulations! DuyNguyen159 just got the Member badge!
7 Likes