Difference between revisions of "Script:namgen"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) (restore page) |
||
Line 1: | Line 1: | ||
− | [[ | + | {{revdate}}{{script overview |
+ | |name=namegen | ||
+ | |author={{user profile|297250|Paul S.}} | ||
+ | |version=0.0.3 | ||
+ | |lastmodified=2017-03-21 | ||
+ | |code=namegen | ||
+ | |dependencies=N/A | ||
+ | |conflicts=N/A}} | ||
+ | |||
+ | '''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. | ||
+ | |||
+ | == 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 == | ||
+ | Choose '''namegen''' from the in-game [[API#Install_API|API menu]]. | ||
+ | |||
+ | OR | ||
+ | |||
+ | 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 == | ||
+ | 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 version|0.0.3|2017-03-21|* Release}} |
Revision as of 13:51, 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
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.
Contents |
Syntax
!namegen language gender
!towngen location
!taverngen
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.
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.
Changelog
v0.0.3 (2017-03-21)
- Release