Difference between revisions of "Script:namegen"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m (formatting) |
||
Line 1: | Line 1: | ||
− | {{script overview | + | {{revdate}}{{script overview |
|name=namegen | |name=namegen | ||
|author={{user profile|297250|Paul S.}} | |author={{user profile|297250|Paul S.}} | ||
Line 9: | Line 9: | ||
{{main|API:Script Index}} | {{main|API:Script Index}} | ||
+ | '''namegen''' is a simple API script that allows a [[DM]] to create: | ||
− | '''namegen''' is a simple API script that allows a | + | * random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available. |
+ | * Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian. | ||
+ | * random Tavern/Inn names. There are over 700 Tavern/Inn names. | ||
+ | |||
+ | == Syntax == | ||
+ | {{syntaxbox top|Example|nocat=true}} | ||
+ | {{API command|namegen language gender}}<br> | ||
+ | {{API command|towngen location}}<br> | ||
+ | {{API command|taverngen}} | ||
+ | {{syntaxbox end}} | ||
+ | |||
+ | == Installation and Configuration == | ||
+ | '''namegen''' is a simple API script that allows a DM to create random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available. | ||
It also generates Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian. | It also generates Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian. | ||
Line 24: | Line 37: | ||
== Installation and Configuration == | == Installation and Configuration == | ||
− | Choose namegen from the in-game API menu. | + | Choose '''namegen''' from the in-game [[API#Install_API|API menu]]. |
OR | OR | ||
− | Copy the script's code, available from the menu on the right | + | Manual install:<br> |
+ | 1.Copy the [https://github.com/Roll20/roll20-api-scripts/tree/master/namegen script's code], available from the menu on the right,stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository].<br> | ||
+ | 2. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]].<br> | ||
+ | 3. Save the new script and it will be available inside your campaign. | ||
== Script Use == | == Script Use == | ||
− | Start the script with the | + | Start the script with the {{code|!namegen}}, {{code|!towngen}}, or {{code|!taverngen}} commands. |
− | + | * {{code|!namegen}}, you can choose a random name based on <b>Language</b> (African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai) and <b>Gender</b> (boy, girl) or Language alone. | |
− | + | * {{code|!towngen}}, you need a <b>Location</b> (African, Arabic, Asian, Dwarf, Elf, Indian) | |
− | + | * {{code|!taverngen}}, there are no variables to pass. | |
== Changelog == | == Changelog == | ||
{{changelog version|0.0.3|2017-03-21|* Release}} | {{changelog version|0.0.3|2017-03-21|* Release}} |
Latest revision as of 14:02, 3 February 2022
Page Updated: 2022-02-03 |
Version: 0.0.3
Last Modified: 2017-03-21
Code: namegen
Dependencies: N/A
Conflicts: N/A
Main Page: API:Script Index
namegen is a simple API script that allows a DM to create:
- random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available.
- Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian.
- random Tavern/Inn names. There are over 700 Tavern/Inn names.
Contents |
[edit] Syntax
!namegen language gender
!towngen location
!taverngen
[edit] Installation and Configuration
namegen is a simple API script that allows a DM to create random names based on Culture and Gender. There are many cultures to choose from including: African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai. Literally thousands of names available.
It also generates Town/City names based on geographic region. Available geographic locations include: African, Arabic, Asian, Dwarf, Elf, Indian.
And lastly, it creates random Tavern/Inn names. There are over 700 Tavern/Inn names.
[edit] Syntax
!namegen language gender
!towngen location
!taverngen
[edit] Installation and Configuration
Choose namegen from the in-game API menu.
OR
Manual install:
1.Copy the script's code, available from the menu on the right,stored at Roll20's API GitHub Repository.
2. Paste the code into a new script in your campaign's API Script Editor.
3. Save the new script and it will be available inside your campaign.
[edit] Script Use
Start the script with the !namegen
, !towngen
, or !taverngen
commands.
-
!namegen
, you can choose a random name based on Language (African, Asian, Arabic, English, Germanic, Hindi, Medieval, Sanskrit, Thai) and Gender (boy, girl) or Language alone. -
!towngen
, you need a Location (African, Arabic, Asian, Dwarf, Elf, Indian) -
!taverngen
, there are no variables to pass.
[edit] Changelog
v0.0.3 (2017-03-21)
- Release