GenerateName() always return nil in Ver5.0
GenerateName() don't work in V5.0
Posted by Unia_nt on Sat 13 Feb 2016 05:50 PM — 3 posts, 15,525 views.
You need to read the names file first. You can choose different files depending on the sorts of names you want.
For example:
Output:
For example:
check (ReadNamesFile ("names/albion1.nam"))
for i = 1, 20 do
Note(GenerateName())
end
Output:
Cadaynia
Edelilith
Cadelan
Legeadith
Agraella
Ulaledia
Drayng
Cralen
Chirella
Ybuwiel
Acaewien
Figolla
Acoan
Doethien
Aselidien
Kendadith
Gwywiel
Airelle
Auwien
Ethirelith
ReadNamesFile
The documentation for the ReadNamesFile script function is available online. It is also in the MUSHclient help file.
Thanks Nick!
Sorry for my careless, I forgot the name file.
Sorry for my careless, I forgot the name file.