Hello again. I am tried create greetings command, but with using translate nickname.
$(eval n=‘$(user)’; $(urlfetch https://pastebin.com/raw/xxxxxxxx))
Pastebin:
{
n.toLocaleLowerCase().replace(/v/g, ‘в’).replace(/i/g, ‘и’).replace(/s/g, ‘с’).replace(/l/g, ‘л’).replace(/e/g, ‘е’).replace(/k/g, ‘к’).replace(/a/g, ‘а’).replace(/b/g, ‘б’).replace(/c/g, ‘с’).replace(/d/g, ‘д’).replace(/e/g, ‘е’).replace(/f/g, ‘ф’).replace(/h/g, ‘х’).replace(/j/g, ‘ж’).replace(/m/g, ‘м’).replace(/o/g, ‘о’).replace(/p/g, ‘п’).replace(/q/g, ‘к’).replace(/r/g, ‘р’).replace(/o/g, ‘о’);
}
but I don’t understand, after the next addition of replace I get an error: Unexpected identifier.