quote:
Originally posted by Yukai
But why FirstWord and SecondWord? Are they linked with Kanjiword and SecondKanjiWord?
Let's say that:
FirstWord gets changed to A
KanjiWord gets changed to B
Will "A" then become "B" when i type and will an incoming "B" become "A"?
Again, sorry for being slow
no yes..
oops i just read it again
as you said in your previous post, you want to just replace romaji words with kanji.
so in the first list you put the romaji words (look after
var) and in the second, you put the kanji words
Let's see it like this:
code:
var romaji = new Array(
"testing",
"test123",
"tester"
);
var kanji = new Array(
"testo",
"testthis",
"roflmao456"
);
if you send 'testing' it will replace with 'testo'.
if your contact sends you 'testthis' it will replace to you with 'test123' (but it will fail if test123 is longer than testthis's length.