Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] Tongues - a simple language script (new thread)

I liked the ability to post new languages for this amazing script and since the old thread got closed I made a new one.&nbsp; Old thread:&nbsp; <a href="https://app.roll20.net/forum/post/5633578/script-tongues-a-simple-language-script/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/5633578/script-tongues-a-simple-language-script/?pagenum=1</a>
Ignan language ( made using&nbsp; <a href="https://lingojam.com" rel="nofollow">https://lingojam.com</a> &nbsp;) Vocabulary: Ignan 1-letter words: [I]&nbsp; Ignan 2-letter words: [if, in, it]&nbsp; Ignan 3-letter words: [dat, haf, hav, idt, ill, int, iss, let, nev, nnh, shh, thi, ved]&nbsp; Ignan 4-letter words: [dash, deit, even, felt, gait, ihet, likh, nhat, shaf, shan, shhi, shit, tikk, tink, tshh, tvhi, vilk, viss]&nbsp; Ignan 5-letter words: [dliah, dlikk, fharr, inthi, kinnh, legss, nesst, nhakk, nharr, nnash, saksh, shanh, shilt, shint, shiss, shivh, thalt, thavn, tiash, tirrt, tshin, tshit, vitsh, vshen, vshhi]&nbsp; Ignan 6-letter words: [dharrn, dlinss, eigsht, idhaat, idhavh, ilsshi, ingerr, khaalt, krredt, krrift, kshilt, literr, littlh, shaarr, shhalt, shiith, shivig, ssaksh, sskill, sitlah, ssliah, ssshit, sstill, tiahss, tiddet, tinash, tiness, tshass, tshiss, veinss]&nbsp; Ignan 7-letter words: [dalsset dassiet, dliahig, drritgh, entarrh, firrsst, frrhann, itsself, killig, nitarrh]&nbsp; Ignan 8-letter words: [nnharrh, nninash, rredakh, rreiksh, rrigsht, ssadtlh, ssnnill, sstidlh, sthahat, thaharr, tsheirr, vinthav, vrrisst, vshiksh]&nbsp; Ignan 9-letter words: [deddless, dleisset, eitsherr, elterrss, enhaagsh, fitsherr, kingsss, lhavesst, nneigerr, nnetikil, ritsherr, rregirrt, rrhasss, rriisset, shanlash, sherrein, ssditerr, sskrridh, teedesst, teitlash, tshhasss, tshrreit]&nbsp; Ignan 10-letter words: [daldhaass, dhaisshan, drressent, drrinnerr, fellhavss, fharrghat, fharrtanh, finnilash, frrientss, iligshtet, inssektss, kharrnerr, neitsherr, shaatssit, sstitarre, tesstinet, tinkerrss]&nbsp; Ignan 11-letter words: [dhaverrfal, entrrinket, fhallhavss, iddrrekiit, ikrrhassss, karrihaass, khhaarrnil, krranndlet, rregrretss, ssdintlash, sskuaisssh, sslhavlash, tirrningss]&nbsp; Ignan 12-letter words: [defrrientet, drrhakeetet, khaarrtlash, krrinnsshan, nnhannentss, sshaantlash, sskarrrriet, tesstinnent, tinninativh, tittlefielt]&nbsp; Ignan 13-letter words: [flirrtitihan, khaanterrikt, khhaarrneash, krreitarress, lhanesshannh, nnharrilitah, nnigshtiesst, rressdhansss, sharrdshinet, sherreifterr, tekedtihanss, trrinssfixet, trriverrsset]
Very Cool! Added to my campaign. Ravenknight said: Ignan language ( made using&nbsp; <a href="https://lingojam.com" rel="nofollow">https://lingojam.com</a> &nbsp;) Vocabulary: Ignan 1-letter words: [I]&nbsp; Ignan 2-letter words: [if, in, it]&nbsp; Ignan 3-letter words: [dat, haf, hav, idt, ill, int, iss, let, nev, nnh, shh, thi, ved]&nbsp; Ignan 4-letter words: [dash, deit, even, felt, gait, ihet, likh, nhat, shaf, shan, shhi, shit, tikk, tink, tshh, tvhi, vilk, viss]&nbsp; Ignan 5-letter words: [dliah, dlikk, fharr, inthi, kinnh, legss, nesst, nhakk, nharr, nnash, saksh, shanh, shilt, shint, shiss, shivh, thalt, thavn, tiash, tirrt, tshin, tshit, vitsh, vshen, vshhi]&nbsp; Ignan 6-letter words: [dharrn, dlinss, eigsht, idhaat, idhavh, ilsshi, ingerr, khaalt, krredt, krrift, kshilt, literr, littlh, shaarr, shhalt, shiith, shivig, ssaksh, sskill, sitlah, ssliah, ssshit, sstill, tiahss, tiddet, tinash, tiness, tshass, tshiss, veinss]&nbsp; Ignan 7-letter words: [dalsset dassiet, dliahig, drritgh, entarrh, firrsst, frrhann, itsself, killig, nitarrh]&nbsp; Ignan 8-letter words: [nnharrh, nninash, rredakh, rreiksh, rrigsht, ssadtlh, ssnnill, sstidlh, sthahat, thaharr, tsheirr, vinthav, vrrisst, vshiksh]&nbsp; Ignan 9-letter words: [deddless, dleisset, eitsherr, elterrss, enhaagsh, fitsherr, kingsss, lhavesst, nneigerr, nnetikil, ritsherr, rregirrt, rrhasss, rriisset, shanlash, sherrein, ssditerr, sskrridh, teedesst, teitlash, tshhasss, tshrreit]&nbsp; Ignan 10-letter words: [daldhaass, dhaisshan, drressent, drrinnerr, fellhavss, fharrghat, fharrtanh, finnilash, frrientss, iligshtet, inssektss, kharrnerr, neitsherr, shaatssit, sstitarre, tesstinet, tinkerrss]&nbsp; Ignan 11-letter words: [dhaverrfal, entrrinket, fhallhavss, iddrrekiit, ikrrhassss, karrihaass, khhaarrnil, krranndlet, rregrretss, ssdintlash, sskuaisssh, sslhavlash, tirrningss]&nbsp; Ignan 12-letter words: [defrrientet, drrhakeetet, khaarrtlash, krrinnsshan, nnhannentss, sshaantlash, sskarrrriet, tesstinnent, tinninativh, tittlefielt]&nbsp; Ignan 13-letter words: [flirrtitihan, khaanterrikt, khhaarrneash, krreitarress, lhanesshannh, nnharrilitah, nnigshtiesst, rressdhansss, sharrdshinet, sherreifterr, tekedtihanss, trrinssfixet, trriverrsset]
Thank you Sarkamist for developing this script, it's great.&nbsp; And thanks to everyone else for providing examples of the various languages. I have a question about implementation.&nbsp; I'm trying to use the script in a 5e D&amp;D campaign using the 5e OGL Character Sheet.&nbsp; We are currently using the following macro with a static list of the languages I've added to our campaign. !tongues ?{Language|Draconic|Druidic|Dwarvish|Elvish|Giant|Gnomish|Goblin|Halfling|Infernal|Orcish|Thieves Cant} ?{Text|Say something} Is it possible to have the menu options dynamically driven by the languages listed on the character sheet of the selected token (and only list those languages)?
1536924788
Pantoufle
Pro
Sheet Author
Translator
Hello, I make an ability for each character based on the global macro with only the languages of the pc... little work but works fine
I've installed tongues Added elvish language, added words to elvish language Did&nbsp;!tongues --set elvish:100% Looked on elvish sheet, the gm section has "Zephyr:100%" With nothing selected i type !tongues elvish hello world (Logged in to zephyr on a different browser) Zephyr sees:&nbsp;[elvish] goodbye ????? What have i done wrong here?
1536936867

Edited 1536936888
Pantoufle
Pro
Sheet Author
Translator
I usually add proficiency manually in the handout rather than using the command. I have noticed a bug sometimes the first character isn't working and I have to enter it twice (ex: Pantoufle:100%, MisterA:100%, Pantoufle:100%) Also with the new text editor, it creates hyperlinks with the % or : I don't know
It looks like it isn't even picking up the language as present since it's changing hello to goodbye which seems like the default looking at the script
Interesting now when i type "!tongues elvish hello" it seems to crash the api: TypeError: Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object at Function.keys (&lt;anonymous&gt;) at translate (apiscript.js:300:23) at commandSpeak (apiscript.js:290:21) at handleInput (apiscript.js:515:21) at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:151:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:151:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1634:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
Andrew W. said: Interesting now when i type "!tongues elvish hello" it seems to crash the api: TypeError: Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object at Function.keys (&lt;anonymous&gt;) at translate (apiscript.js:300:23) at commandSpeak (apiscript.js:290:21) at handleInput (apiscript.js:515:21) at eval (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:151:1), &lt;anonymous&gt;:65:16) at Object.publish (eval at &lt;anonymous&gt; (/home/node/d20-api-server/api.js:151:1), &lt;anonymous&gt;:70:8) at /home/node/d20-api-server/api.js:1634:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) Odd. I don't have that problem. Of coure, my language is named Elven. ;)
Ok so I deleted the script and handouts and started again Created one language "elven" "&gt; Tongues (v4.5.1): Elven parsed succesfully! (1 languages loaded) &lt;" Using the example script from the github page maybe i've done it wrong as it looks like it's not parsing properly If i do "!tongues Elvish hello" i get "(From Tongues): W. (GM) Elvish does not exist as a Tongues valid language!" as expected If i do "!tongues Elven hello" i get a whisper as the gm with the right thing and a message to everyone in the chat saying "GM: [Elven] goodbye" ( changed the default from john smith to GM)&nbsp; why is it showing the word goodbye rather than some of the words from the Tongues: Elven handout? In the elven handout i have: Vocabulary:&nbsp; Elven 1-letter words: [A, N, I, O, E, D]&nbsp; Elven 2-letter words: [Da, Lo, An, Ni, Al, Do, Ri, Su, No, Va, Fa, Fe]&nbsp; Elven 3-letter words: [Ano, Dur, Tal, Nei, Ash, Dor, Anu, Fal, Tur, Ala, Nor, Osa, Val]&nbsp; Elven 4-letter words: [Alah, Andu, Dath, Mush, Shar, Thus, Fulo, Aman, Diel, Dieb, Rini, Anar, Vala]&nbsp; Elven 5-letter words: [Talah, Adore, Ishnu, Bandu, Balah, Fandu, Thera, Turus, Shari, Shano, Terro, Eburi, Valas]&nbsp; Elven 6-letter words: [Dorini, Shando, Ethala, Fallah, Belore, Do'rah, Neph'o, Man'ar, Ishura, U'phol, T'as'e, Vala'se]&nbsp; Elven 7-letter words: [Asto're, Anoduna, Alah'ni, Dor'Ano, Al'shar, Mush'al, Aman'ni, Shan're, Vala'nor]&nbsp; Elven 8-letter words: [Mandalas, Eraburis, Dorithur, Dal'dieb, Thoribas, D'ana'no, Il'amare, Vala'nore]&nbsp; Elven 9-letter words: [Neph'anis, Dune'adah, Banthalos, Fala'andu, Dath'anar, Shari'fal, Thori'dal, Vala'thalo]&nbsp; Elven 10-letter words: [Thero'shan, Isera'duna, Ash'therod, Dorados'no, Shar'adore, Vala'quen]&nbsp; Elven 11-letter words: [Fandu'talah, Shari'adune, Vala'quendi, Felo'melorn]&nbsp; Elven 12-letter words: [Dor'ana'badu, T'ase'mushal, Va'linanar'e]&nbsp; Elven 13-letter words: [U'phol'belore, Anu'belore'delanah]&nbsp; Elven 14-letter words: [Turus'il'amare, Anu'dorannador]&nbsp; Elven 15-letter words: [Asto're'dunadah] Elven 16-letter words: [Shindu'fallah'na] Elven 17-letter words: [Thoribas'no'thera, Ando'meth'derador, Anu'dorinni'talah, Esh'thero'mannash] Dictionary: [May the light of the sun burn you: Anu'belore'delanah] [Fireball, Fire bolt: Sela'na'melorn] [Magic sphere: Sela'na] [Flamestrike: Felo'melorn] [Fire: Melorn]
Ok for some reason it is now parsing, redid the language and pasted in just the words part didnt mess with the middle line and works now for some reason. It's still not picking up the whisper part though. I have a character called Zephyr so in the GM Notes section it has Zephyr:100% &nbsp; Notice it looked like a link so i unlinked it (and also tried with it linked) and the user in question only sees the main chat and doesn't get a whisper even when "speaking as" the character
Hi Andrew, I tested your setup and it worked fine on my end. When adding speakers do you use the "!tongues --set" command or just write the names? Tongues have been somewhat wonky since Roll20 implemented the disaster that is the new text editor.
I have a question.. I wanted to use the tongues script to "translate" an elvish word to common.. So what i thought was that a user can type in the elvish word using !tongues elven Quel t'charr&nbsp;&nbsp;&nbsp;&nbsp; and it spit out the Common word, verses going the other way.&nbsp; What i added under elven handout was the [common word: Quel t'charr]&nbsp; which didnt work, it stil tried to convert it to elvish. Should i have created a "common" handout and stuck it in there?
Hi Terrelle. Yep, if you want to translate into Common you need to create a Common handout. You can however get whatever words you want into a translated text by surrounding the word with $ $.
Awww Cool thanks!